Skip to content
This repository has been archived by the owner on Nov 30, 2024. It is now read-only.

Relax constraint for Ruby 3.4.0 in file load error spec #3114

Merged
merged 1 commit into from
Oct 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading