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