diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-04 07:49:32 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-04 07:49:32 +0000 |
commit | c415a5d66b0bbea62c378088af7df2afffa14c88 (patch) | |
tree | 2f419df2a4efe824402e6dec40af4393b5b2f01d /bootstraptest | |
parent | 04752225a796afba738d55c9556c67f520b24f71 (diff) | |
download | ruby-c415a5d66b0bbea62c378088af7df2afffa14c88.tar.gz |
add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rw-r--r-- | bootstraptest/test_knownbug.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb index 66944cd11e..a3d073840b 100644 --- a/bootstraptest/test_knownbug.rb +++ b/bootstraptest/test_knownbug.rb @@ -212,3 +212,12 @@ assert_normal_exit %q{ assert_normal_exit %q{ [1,2,3].slice!(1,10000).inspect } + +assert_equal 'ok', %q{ + begin + eval("class nil::Foo; end") + :ng + rescue Exception + :ok + end +} |