summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-05-30 16:12:32 +0900
committerYukihiro Matsumoto <[email protected]>2012-05-30 16:12:32 +0900
commita4a48e3da1e65cdf1e0aaad1f5b4a83d4f91e658 (patch)
tree6714d0d6b13719a149490db9cd7da14c5a2de32f /test
parent0de8ffb0deee9635383a2008b3a95590775ed893 (diff)
downloadmruby-a4a48e3da1e65cdf1e0aaad1f5b4a83d4f91e658.tar.gz
mruby-a4a48e3da1e65cdf1e0aaad1f5b4a83d4f91e658.zip
specify allocating array size for Hash#values
Diffstat (limited to 'test')
-rw-r--r--test/t/hash.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/t/hash.rb b/test/t/hash.rb
index af662688a..240f6616b 100644
--- a/test/t/hash.rb
+++ b/test/t/hash.rb
@@ -222,5 +222,6 @@ end
assert('Hash#values', '15.2.13.4.28') do
a = { 'abc_key' => 'abc_value' }
+ p a.values
a.values == ['abc_value']
end