mirror of
https://github.com/kanaka/mal.git
synced 2024-09-11 13:55:55 +03:00
tests: soft-test metadata for atoms
This commit is contained in:
parent
23100ede2a
commit
77057e6920
@ -253,10 +253,6 @@
|
||||
(with-meta {} {"a" 1})
|
||||
;=>{}
|
||||
|
||||
;;; Not actually supported by Clojure
|
||||
;;;(meta (with-meta (atom 7) {"a" 1}))
|
||||
;;;;=>{"a" 1}
|
||||
|
||||
(def! l-wm (with-meta [4 5 6] {"b" 2}))
|
||||
;=>[4 5 6]
|
||||
(meta l-wm)
|
||||
@ -298,3 +294,6 @@
|
||||
;=>true
|
||||
(m (+ 1 1))
|
||||
;=>false
|
||||
|
||||
(meta (with-meta (atom 7) {"a" 1}))
|
||||
;=>{"a" 1}
|
||||
|
Loading…
Reference in New Issue
Block a user