spec/reek/report/yaml_report_spec.rb in reek-3.6.1 vs spec/reek/report/yaml_report_spec.rb in reek-3.7.0

- old
+ new

@@ -34,23 +34,23 @@ expected = YAML.load <<-EOS --- - context: "simple" lines: - 1 - message: "doesn't depend on instance state (maybe move it to another class?)" - smell_category: "LowCohesion" - smell_type: "UtilityFunction" - source: "string" - name: "simple" -- context: "simple" - lines: - - 1 message: "has the parameter name 'a'" smell_category: "UncommunicativeName" smell_type: "UncommunicativeParameterName" source: "string" name: "a" +- context: "simple" + lines: + - 1 + message: "doesn't depend on instance state (maybe move it to another class?)" + smell_category: "LowCohesion" + smell_type: "UtilityFunction" + source: "string" + name: "simple" EOS expect(result).to eq expected end context 'with link formatter' do @@ -64,24 +64,24 @@ expected = YAML.load <<-EOS --- - context: "simple" lines: - 1 - message: "doesn't depend on instance state (maybe move it to another class?)" - smell_category: "LowCohesion" - smell_type: "UtilityFunction" - source: "string" - name: "simple" - wiki_link: "https://github.com/troessner/reek/blob/master/docs/Utility-Function.md" -- context: "simple" - lines: - - 1 message: "has the parameter name 'a'" smell_category: "UncommunicativeName" smell_type: "UncommunicativeParameterName" source: "string" name: "a" wiki_link: "https://github.com/troessner/reek/blob/master/docs/Uncommunicative-Parameter-Name.md" +- context: "simple" + lines: + - 1 + message: "doesn't depend on instance state (maybe move it to another class?)" + smell_category: "LowCohesion" + smell_type: "UtilityFunction" + source: "string" + name: "simple" + wiki_link: "https://github.com/troessner/reek/blob/master/docs/Utility-Function.md" EOS expect(result).to eq expected end end