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 | 53cde173f7ce57b4c820154b697d741d8bb0a863 (patch) | |
| tree | d4bce71ad66257d492dad85b2d2867ad375d4452 | |
| parent | c68f6a89a835674e8aef54121a29cbd534db980c (diff) | |
| download | ruby-53cde173f7ce57b4c820154b697d741d8bb0a863.tar.gz ruby-53cde173f7ce57b4c820154b697d741d8bb0a863.tar.xz ruby-53cde173f7ce57b4c820154b697d741d8bb0a863.zip | |
add a test for Array#compact!.
git-svn-id: http://svn.ruby-lang.org/repos/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 5fb613650..69cbd8f86 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! +} |
