spec/lib/fasterer/file_traverser_spec.rb in fasterer-0.7.1 vs spec/lib/fasterer/file_traverser_spec.rb in fasterer-0.8.0

- old
+ new

@@ -328,11 +328,11 @@ end let(:file_traverser) { Fasterer::FileTraverser.new('.') } it 'should have errors' do - expect(file_traverser.parse_error_paths) - .to match_array(['user.rb - RubyParser::SyntaxError - unterminated string meets end of file. near line 1: ""']) + expect(file_traverser.parse_error_paths.first) + .to start_with('user.rb - RubyParser::SyntaxError - unterminated') end end describe 'output' do let(:test_file_path) { RSpec.root.join('support', 'output', 'sample_code.rb') }