Skip to content

Commit c7f151e

Browse files
committed
Fixed assertion result with the latest stable version of JRuby
1 parent d5548dd commit c7f151e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_rake_rake_test_loader.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def test_load_error_raised_implicitly
5353
exc = assert_raises(LoadError) do
5454
load @loader
5555
end
56-
if RUBY_ENGINE == "jruby"
56+
if RUBY_ENGINE == "jruby" && JRUBY_VERSION <= "10"
5757
assert_equal "no such file to load -- superkalifragilisticoespialidoso", exc.message
5858
else
5959
assert_equal "cannot load such file -- superkalifragilisticoespialidoso", exc.message

0 commit comments

Comments
 (0)