1
1
mirror of https://github.com/kanaka/mal.git synced 2024-08-16 17:20:23 +03:00

tests: soft-test metadata for atoms

This commit is contained in:
Nicolas Boulenguez 2019-06-02 13:23:34 +02:00
parent 23100ede2a
commit 77057e6920

View File

@ -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}