From 1c41dc40d8ec366190f408aeec13da5913608ed4 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 16 Feb 2024 11:08:03 +0900 Subject: [PATCH] [ruby/forwardable] Relax regexp for Ruby 3.3 or before https://github.com/ruby/forwardable/commit/42b50c2111 --- test/test_forwardable.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_forwardable.rb b/test/test_forwardable.rb index 9cbf8f7a20..9ed330058a 100644 --- a/test/test_forwardable.rb +++ b/test/test_forwardable.rb @@ -306,7 +306,7 @@ class TestForwardable < Test::Unit::TestCase def test_basicobject_subclass bug11616 = '[ruby-core:71176] [Bug #11616]' - assert_raise_with_message(NameError, /'bar'/, bug11616) { + assert_raise_with_message(NameError, /[`']bar'/, bug11616) { Foo2.new.baz } end