diff options
Diffstat (limited to 'bootstraptest')
-rw-r--r-- | bootstraptest/test_jump.rb | 7 | ||||
-rw-r--r-- | bootstraptest/test_knownbug.rb | 8 |
2 files changed, 7 insertions, 8 deletions
diff --git a/bootstraptest/test_jump.rb b/bootstraptest/test_jump.rb index a83b6f0eab..9ada6829b1 100644 --- a/bootstraptest/test_jump.rb +++ b/bootstraptest/test_jump.rb @@ -230,3 +230,10 @@ assert_equal %q{1}, %q{ m } +assert_equal 'ok', %q{ + begin + catch {|t| throw t, :ok } + rescue ArgumentError + :ng + end +}, '[ruby-dev:31609]' diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb index 382f027b34..b97a08d928 100644 --- a/bootstraptest/test_knownbug.rb +++ b/bootstraptest/test_knownbug.rb @@ -3,11 +3,3 @@ # So all tests will cause failure. # -# catch/throw -assert_equal 'ok', %q{ - begin - catch {|t| throw t, :ok } - rescue ArgumentError - :ng - end -}, '[ruby-dev:31609]' |