Skip to content

Commit 390721b

Browse files
mattbrictsonsebjacobs
authored andcommitted
Fix failing sanity check spec under latest bundler (rspec#1912)
Relax the regexp for matching the expected "uninitialized constant" error to fix this spec failure when running on Bundler 1.16.0 and Ruby 2.4.2: expected "NameError: uninitialized constant RSpec::Support" to match /uninitialized constant RSpec::Support \(NameError\)/
1 parent d0b3164 commit 390721b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/sanity_check_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
Bundler.with_clean_env do
2121
expect(`bundle exec #{script} 2>&1`).
22-
to match(/uninitialized constant RSpec::Support \(NameError\)/).
22+
to match(/uninitialized constant RSpec::Support/).
2323
or match(/undefined method `require_rspec_core' for RSpec::Support:Module/)
2424

2525
expect($?.exitstatus).to eq(1)

0 commit comments

Comments
 (0)