class Cucumber::Formatter::Pretty
def print_step_data(test_step, result)
def print_step_data(test_step, result) base_indent = options[:expand] && in_scenario_outline ? 8 : 4 step_keyword = test_step_keyword(test_step) indent = options[:source] ? @source_indent - step_keyword.length - test_step.text.length - base_indent : nil print_comments(test_step.location.lines.max, base_indent) name_to_report = format_step(step_keyword, @step_matches.fetch(test_step.to_s) { NoStepMatch.new(test_step, test_step.text) }, result.to_sym, indent) @io.puts(indent(name_to_report, base_indent)) print_multiline_argument(test_step, result, base_indent + 2) unless options[:no_multiline] @io.flush end