From 6ea114b788beccf04b3d52b496e3839fcd7ff318 Mon Sep 17 00:00:00 2001 From: Charles Oliver Nutter Date: Wed, 6 Mar 2024 13:21:49 -0600 Subject: [PATCH] No more method name in message --- test/jruby/test_higher_javasupport.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/jruby/test_higher_javasupport.rb b/test/jruby/test_higher_javasupport.rb index a3f07f924c9..7baf0674e3c 100644 --- a/test/jruby/test_higher_javasupport.rb +++ b/test/jruby/test_higher_javasupport.rb @@ -1862,7 +1862,7 @@ def test_raised_errors_on_array_proxy fail 'expected to raise' rescue ArgumentError => e msg = e.message - assert msg.start_with?("`length': wrong number of arguments (given 1, expected 0)"), msg + assert msg.start_with?("wrong number of arguments (given 1, expected 0)"), msg end begin # array proxy class