diff options
| author | Koichi Sasada <ko1@atdot.net> | 2025-12-05 01:19:55 +0900 |
|---|---|---|
| committer | Koichi Sasada <ko1@atdot.net> | 2025-12-05 02:28:30 +0900 |
| commit | 4c893e2ff1077b977483da14c0540e9247b87c7e (patch) | |
| tree | 0644e3c5fdbc16d70a2d62b226e141f2531cbc34 /test/ruby | |
| parent | f2cd772329b8d07e29ed114480ff99ad36acbd75 (diff) | |
Method and UnboundMethod can be sharable
with `RUBY_TYPED_FROZEN_SHAREABLE_NO_REC`,
if the receiver object is shareable on Method objects.
Diffstat (limited to 'test/ruby')
| -rw-r--r-- | test/ruby/test_ractor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_ractor.rb b/test/ruby/test_ractor.rb index efc67338e4..09c470911a 100644 --- a/test/ruby/test_ractor.rb +++ b/test/ruby/test_ractor.rb @@ -47,7 +47,7 @@ class TestRactor < Test::Unit::TestCase def x.to_s raise "this should not be called" end - assert_unshareable(x, "can not make shareable object for #<Method: String#to_s()>", exception: Ractor::Error) + assert_unshareable(x, "can not make shareable object for #<Method: String#to_s()> because it refers unshareable objects", exception: Ractor::Error) end def test_default_thread_group |
