spec/lib/fasterer/file_traverser_spec.rb in fasterer-0.10.1 vs spec/lib/fasterer/file_traverser_spec.rb in fasterer-0.11.0

- old
+ new

@@ -346,10 +346,10 @@ context "when print offenses" do let(:explanation) { Fasterer::Offense::EXPLANATIONS[:for_loop_vs_each] } it 'should print offense' do - match = "\e[0;31;49m#{test_file_path}:1\e[0m #{explanation}.\n\n" + match = "\e[31m#{test_file_path}:1\e[0m #{explanation}.\n\n" expect { file_traverser.send(:output, analyzer) }.to output(match).to_stdout end end end