summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/t/localjumperror.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/t/localjumperror.rb b/test/t/localjumperror.rb
index ebcec0670..857b0ce65 100644
--- a/test/t/localjumperror.rb
+++ b/test/t/localjumperror.rb
@@ -1,13 +1,12 @@
##
# LocalJumpError ISO Test
-assert('LocalJumoError', '15.2.25') do
- begin
+assert('LocalJumpError', '15.2.25') do
+ assert_equal LocalJumpError.class, Class
+ assert_raise LocalJumpError do
# this will cause an exception due to the wrong location
retry
- rescue => e1
end
- LocalJumpError.class == Class and e1.class == LocalJumpError
end
# TODO 15.2.25.2.1 LocalJumpError#exit_value