Skip to content

Commit

Permalink
Merge pull request #3114 from rspec/fix-ruby-head-build
Browse files Browse the repository at this point in the history
Relax constraint for Ruby 3.4.0 in file load error spec
  • Loading branch information
JonRowe authored Oct 1, 2024
2 parents 57cc861 + 6841448 commit 3f10b72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/integration/spec_file_load_errors_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def foo
5 end
EOS
end
expect(formatted_output).to include "./tmp/aruba/broken_file.rb:5: syntax error"
expect(formatted_output).to include %r{./tmp/aruba/broken_file.rb:\d: syntax error}

expect(formatted_output).to include unindent(<<-EOS)
Finished in n.nnnn seconds (files took n.nnnn seconds to load)
Expand Down

0 comments on commit 3f10b72

Please sign in to comment.