diff options
Diffstat (limited to 'test/ruby/test_mjit.rb')
| -rw-r--r-- | test/ruby/test_mjit.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ruby/test_mjit.rb b/test/ruby/test_mjit.rb index 3a1dcf7f09..9cd93855bd 100644 --- a/test/ruby/test_mjit.rb +++ b/test/ruby/test_mjit.rb @@ -782,9 +782,9 @@ class TestMJIT < Test::Unit::TestCase def test_catching_deep_exception assert_eval_with_jit("#{<<~"begin;"}\n#{<<~"end;"}", stdout: '1', success_count: 4) begin; - def catch_true(paths, prefixes) # catch_except_p: TRUE - prefixes.each do |prefix| # catch_except_p: TRUE - paths.each do |path| # catch_except_p: FALSE + def catch_true(paths, prefixes) # catch_except_p: true + prefixes.each do |prefix| # catch_except_p: true + paths.each do |path| # catch_except_p: false return path end end |
