summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/t/hash.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/t/hash.rb b/test/t/hash.rb
index 020c2aa3a..62cf241f4 100644
--- a/test/t/hash.rb
+++ b/test/t/hash.rb
@@ -192,10 +192,10 @@ end
assert('Hash#shift', '15.2.13.4.24') do
a = { 'abc_key' => 'abc_value', 'cba_key' => 'cba_value' }
- # TODO Broken ATM (Hash instead of Array
b = a.shift
- a == { 'abc_key' => 'abc_value' }
+ a == { 'abc_key' => 'abc_value' } and
+ b == [ 'cba_key', 'cba_value' ]
end
assert('Hash#size', '15.2.13.4.25') do