diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-22 08:13:19 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-22 08:13:19 +0000 |
commit | da5e82f5a353745c17d726a86379c17797e7be73 (patch) | |
tree | d4bce71ad66257d492dad85b2d2867ad375d4452 | |
parent | 477c0db2bdca336b498e92708d7c99479860f16e (diff) |
add a test for Array#compact!.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | bootstraptest/test_knownbug.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb index 5fb6136508..69cbd8f868 100644 --- a/bootstraptest/test_knownbug.rb +++ b/bootstraptest/test_knownbug.rb @@ -94,3 +94,9 @@ assert_equal 'ok', %q{ assert_normal_exit %q{ eval("", method(:proc).call {}.binding) } + +assert_normal_exit %q{ + a = [] + 100.times {|i| a << i << nil << nil } + p a.compact! +} |