We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 920b6b3 commit 483dd63Copy full SHA for 483dd63
test/sci/records_test.cljc
@@ -240,3 +240,7 @@
240
241
(deftest satisfies-IRecord-test
242
#?(:cljs (is (true? (sci/eval-string "(defrecord Foo []) (satisfies? IRecord (->Foo))")))))
243
+
244
+(deftest map-constructor-nil-test
245
+ (is (true? (sci/eval-string "(defrecord Foo [a]) (and (contains? (map->Foo {}) :a)
246
+(nil? (:a (map->Foo {}))))"))))
0 commit comments