From cfbc45a5862a8e3a682734b01d87f7c4735848cf Mon Sep 17 00:00:00 2001 From: Kodi Arfer Date: Sat, 21 Dec 2019 14:29:52 -0500 Subject: [PATCH] Test that `ap-each` returns `None` --- tests/native_tests/extra/anaphoric.hy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/native_tests/extra/anaphoric.hy b/tests/native_tests/extra/anaphoric.hy index 4660de7..1177ab0 100644 --- a/tests/native_tests/extra/anaphoric.hy +++ b/tests/native_tests/extra/anaphoric.hy @@ -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 []