Adding an access to a map literal which doesn't seem to be working (though it's vector counterpart does)
This commit is contained in:
1
unittests/map_literal_access.chai
Normal file
1
unittests/map_literal_access.chai
Normal file
@@ -0,0 +1 @@
|
|||||||
|
assert_equal(1, {"bob":1,"fred":2}["bob"])
|
||||||
Reference in New Issue
Block a user