lib/cucumber/formatter/json.rb in cucumber-3.1.1 vs lib/cucumber/formatter/json.rb in cucumber-3.1.2

- old
+ new

@@ -161,10 +161,10 @@ def create_step_hash(step_source) step_hash = { keyword: step_source.keyword, name: step_source.to_s, - line: step_source.location.line + line: step_source.original_location.line } step_hash[:comments] = Formatter.create_comments_array(step_source.comments) unless step_source.comments.empty? step_hash[:doc_string] = create_doc_string_hash(step_source.multiline_arg) if step_source.multiline_arg.doc_string? step_hash[:rows] = create_data_table_value(step_source.multiline_arg) if step_source.multiline_arg.data_table? step_hash