1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

add a test for Array#compact!.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2008-05-22 08:13:19 +00:00
parent 477c0db2bd
commit da5e82f5a3

View file

@ -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!
}