add test case for map-key
This commit is contained in:
parent
2423127877
commit
82314f50ba
1 changed files with 1 additions and 0 deletions
|
|
@ -1530,6 +1530,7 @@
|
|||
(deftest map-key-test
|
||||
(is (= {:b nil :c 3} (setval (s/map-key :a) :b {:c 3})))
|
||||
(is (= {:b 2} (setval (s/map-key :a) :b {:a 2})))
|
||||
(is (= {:b 2} (setval (s/map-key :a) :b {:a 2 :b 1})))
|
||||
)
|
||||
|
||||
#?(:clj
|
||||
|
|
|
|||
Loading…
Reference in a new issue