diff options
Diffstat (limited to 'bootstraptest/test_yjit.rb')
-rw-r--r-- | bootstraptest/test_yjit.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstraptest/test_yjit.rb b/bootstraptest/test_yjit.rb index 20db784a39..183b19c3eb 100644 --- a/bootstraptest/test_yjit.rb +++ b/bootstraptest/test_yjit.rb @@ -2023,14 +2023,14 @@ assert_normal_exit %q{ foo([1]) rescue nil } -# test ractor exception on when getting ivar +# test ractor exception on when setting ivar assert_equal '42', %q{ class A def self.foo _foo = 1 _bar = 2 begin - @bar + @bar = _foo + _bar rescue Ractor::IsolationError 42 end |