summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_ractor.rb2
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