diff options
author | Satoshi Moris Tagomori <tagomoris@gmail.com> | 2021-08-24 21:00:00 +0900 |
---|---|---|
committer | Koichi Sasada <ko1@atdot.net> | 2021-10-27 16:13:43 +0900 |
commit | 489e5e3a8293553578757664b338009667a8f204 (patch) | |
tree | 654d7edc51487e792dd62e28f823b7da5be4dc17 /bootstraptest | |
parent | 9541b3b7c07eeca437857bb5430dbc68d3c04858 (diff) | |
download | ruby-489e5e3a8293553578757664b338009667a8f204.tar.gz |
the core problem is the Proc is not shareable
Diffstat (limited to 'bootstraptest')
-rw-r--r-- | bootstraptest/test_ractor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |