Test that ap-each returns None

This commit is contained in:
Kodi Arfer 2019-12-21 14:29:52 -05:00
parent bbb7426269
commit cfbc45a586

View File

@ -17,7 +17,7 @@
(defn test-ap-each []
(setv res [])
(ap-each [1 2 3 4] (.append res it))
(assert (is (ap-each [1 2 3 4] (.append res it)) None))
(assert (= res [1 2 3 4])))
(defn test-ap-each-while []