diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-24 15:19:44 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-24 15:19:44 +0000 |
commit | 71787f8ec2704a0559a8de8e91054f31e8444b3b (patch) | |
tree | 948de23a14297eb42be6a66873fc6894cf2179c2 | |
parent | 78fd550840f539125f8b304b97631a690c554173 (diff) | |
download | ruby-71787f8ec2704a0559a8de8e91054f31e8444b3b.tar.gz |
add a test for [ruby-core:14385] reported by Frederick Cheung.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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 39dc6a9b8b..eebd299340 100644 --- a/bootstraptest/test_knownbug.rb +++ b/bootstraptest/test_knownbug.rb @@ -2,3 +2,12 @@ # This test file concludes tests which point out known bugs. # So all tests will cause failure. # + +assert_normal_exit %q{ + counter = 2 + while true + counter -= 1 + next if counter != 0 + break + end +}, '[ruby-core:14385]' |