mirror of
https://github.com/kanaka/mal.git
synced 2024-09-11 13:55:55 +03:00
Tests: add nested hash-map tests.
This commit is contained in:
parent
c4b23bf4f4
commit
5044ce44f4
@ -270,6 +270,10 @@
|
||||
;=>true
|
||||
(= {:a 11 :b 22} (hash-map :b 22 :a 11))
|
||||
;=>true
|
||||
(= {:a 11 :b [22 33]} (hash-map :b [22 33] :a 11))
|
||||
;=>true
|
||||
(= {:a 11 :b {:c 33}} (hash-map :b {:c 33} :a 11))
|
||||
;=>true
|
||||
(= {:a 11 :b 22} (hash-map :b 23 :a 11))
|
||||
;=>false
|
||||
(= {:a 11 :b 22} (hash-map :a 11))
|
||||
|
Loading…
Reference in New Issue
Block a user