test/03auto.rb in xkeys-0.0.2 vs test/03auto.rb in xkeys-1.0.1
- old
+ new
@@ -29,9 +29,12 @@
a.clear; a[0, :a] = '0:a'
assert_equal([ { :a => '0:a' } ], a, "a[0, :a] = '0:a'")
a.clear; a[0, 1] = '01'
assert_equal([ [ nil, '01' ] ], a, "a[0, 1] = '01'")
+
+ a[0, :[]] = '02'
+ assert_equal([ [ nil, '01', '02' ] ], a, "a[0, :[]] = '02'")
end
end
# END