diff options
Diffstat (limited to 'bootstraptest')
-rw-r--r-- | bootstraptest/test_eval.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstraptest/test_eval.rb b/bootstraptest/test_eval.rb index 4c8e5aaa09..7fdfda8272 100644 --- a/bootstraptest/test_eval.rb +++ b/bootstraptest/test_eval.rb @@ -268,7 +268,7 @@ assert_equal 'ok', %q{ nil.instance_eval { def a() :a end } - rescue => TypeError + rescue TypeError :ok end }, '[ruby-core:16796]' @@ -278,7 +278,7 @@ assert_equal 'ok', %q{ nil.instance_exec { def a() :a end } - rescue => TypeError + rescue TypeError :ok end }, '[ruby-core:16796]' |