diff options
Diffstat (limited to 'bootstraptest/test_jump.rb')
-rw-r--r-- | bootstraptest/test_jump.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bootstraptest/test_jump.rb b/bootstraptest/test_jump.rb index 595aaa7c4b..7944915862 100644 --- a/bootstraptest/test_jump.rb +++ b/bootstraptest/test_jump.rb @@ -146,15 +146,16 @@ assert_equal %q{131}, %q{ end } } -assert_equal %q{ok}, %q{ +assert_match %r{Invalid retry}, %q{ +STDERR.reopen(STDOUT) begin eval %q{ 1.times{ retry } } -rescue SyntaxError - :ok +rescue SyntaxError => e + e.message end } assert_equal %q{3}, %q{ |