We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2336a00 + c4926bd commit fdc14ffCopy full SHA for fdc14ff
test/test_rake_rake_test_loader.rb
@@ -53,11 +53,8 @@ def test_load_error_raised_implicitly
53
exc = assert_raises(LoadError) do
54
load @loader
55
end
56
- if RUBY_ENGINE == "jruby" && JRUBY_VERSION < "10.0.3"
57
- assert_equal "no such file to load -- superkalifragilisticoespialidoso", exc.message
58
- else
59
- assert_equal "cannot load such file -- superkalifragilisticoespialidoso", exc.message
60
- end
+
+ assert_match /.* -- superkalifragilisticoespialidoso/, exc.message
61
62
assert_empty out
63
assert_empty err
0 commit comments