From 489e5e3a8293553578757664b338009667a8f204 Mon Sep 17 00:00:00 2001 From: Satoshi Moris Tagomori Date: Tue, 24 Aug 2021 21:00:00 +0900 Subject: the core problem is the Proc is not shareable --- bootstraptest/test_ractor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bootstraptest') diff --git a/bootstraptest/test_ractor.rb b/bootstraptest/test_ractor.rb index ee3f13cad9..bf80b94cc7 100644 --- a/bootstraptest/test_ractor.rb +++ b/bootstraptest/test_ractor.rb @@ -1130,7 +1130,7 @@ assert_equal 'can not set constants with non-shareable objects by non-main Racto } # define_method is not allowed -assert_equal "defined in a different Ractor", %q{ +assert_equal "defined with an un-shareable Proc in a different Ractor", %q{ str = "foo" define_method(:buggy){|i| str << "#{i}"} begin -- cgit v1.2.3