[ruby/forwardable] Relax regexp for Ruby 3.3 or before
https://github.com/ruby/forwardable/commit/42b50c2111
This commit is contained in:
parent
9d81741f27
commit
1c41dc40d8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user