lib/cucumber/formatter/gherkin_formatter_adapter.rb in cucumber-1.1.2 vs lib/cucumber/formatter/gherkin_formatter_adapter.rb in cucumber-1.1.3

- old
+ new

@@ -45,10 +45,10 @@ @gf.match(match) end end def before_step_result(keyword, step_match, multiline_arg, status, exception, source_indent, background) - arguments = step_match.step_arguments.map{|a| Gherkin::Formatter::Argument.new(a.byte_offset, a.val)} + arguments = step_match.step_arguments.map{|a| Gherkin::Formatter::Argument.new(a.offset, a.val)} location = step_match.file_colon_line match = Gherkin::Formatter::Model::Match.new(arguments, location) if @print_emtpy_match # Trick the formatter to believe that's what was printed previously so we get arg highlights on #result @gf.instance_variable_set('@match', match)