Skip to content

Commit f8d2231

Browse files
committed
defrecord test
1 parent fd94cb5 commit f8d2231

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/sci/core_test.cljc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1726,7 +1726,9 @@
17261726
(eval (apply #'extend-protocol nil nil 'Foo '[String]))
17271727
(satisfies? Foo \"dude\")")))
17281728
(is (true? (sci/eval-string "(eval (apply #'defmulti nil nil 'my-multi '[identity]))
1729-
(some? (resolve 'my-multi))")))))))
1729+
(some? (resolve 'my-multi))")))
1730+
(is (true? (sci/eval-string "(eval (apply #'defrecord nil nil 'Foo '[[]]))
1731+
(some? (->Foo))")))))))
17301732

17311733
;;;; Scratch
17321734

0 commit comments

Comments
 (0)