summaryrefslogtreecommitdiff
path: root/tests/core.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/core.fnl')
-rw-r--r--tests/core.fnl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/core.fnl b/tests/core.fnl
index ae7b3b4..f7dccd7 100644
--- a/tests/core.fnl
+++ b/tests/core.fnl
@@ -208,7 +208,7 @@
(assert-eq (table.concat (mapv string.upper "vaiv")) "VAIV"))
(testing "reduce"
- (defn add
+ (fn* add
([] 0)
([a] a)
([a b] (+ a b))
@@ -340,7 +340,7 @@
(assert* ((complement #(= $1 $2)) 1 2)))
(testing "apply"
- (defn add
+ (fn* add
([x] x)
([x y] (+ x y))
([x y & zs]