From fbe56f5a018476deb69bd91d648851c6a6ec5322 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 19 Aug 2025 13:27:48 +0900 Subject: [PATCH] Fixed assertion result with the latest stable version of JRuby --- test/test_rake_rake_test_loader.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_rake_rake_test_loader.rb b/test/test_rake_rake_test_loader.rb index 6bde77d9c..a504159f1 100644 --- a/test/test_rake_rake_test_loader.rb +++ b/test/test_rake_rake_test_loader.rb @@ -53,7 +53,7 @@ def test_load_error_raised_implicitly exc = assert_raises(LoadError) do load @loader end - if RUBY_ENGINE == "jruby" + if RUBY_ENGINE == "jruby" && JRUBY_VERSION < "10.0.3" assert_equal "no such file to load -- superkalifragilisticoespialidoso", exc.message else assert_equal "cannot load such file -- superkalifragilisticoespialidoso", exc.message