diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-21 14:22:24 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-21 14:22:24 +0000 |
commit | a16e394bbf85c4e3a1920a7f4ddf46f9561c4a77 (patch) | |
tree | 9dc8055d47480b47eed423dfce75d1c047760a58 /bootstraptest | |
parent | 5dd3a0e2dd508abfad893475efc9706381465d8a (diff) | |
download | ruby-a16e394bbf85c4e3a1920a7f4ddf46f9561c4a77.tar.gz |
* bootstraptest/test_eval.rb: fix syntax.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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]' |