summaryrefslogtreecommitdiff
path: root/tests/core.fnl
diff options
context:
space:
mode:
authorAndrey Orst <andreyorst@gmail.com>2020-11-13 23:04:25 +0300
committerAndrey Orst <andreyorst@gmail.com>2020-11-13 23:04:25 +0300
commite4dd661631e109e8f0eab3ab0ce117464acde7a0 (patch)
tree82e8ef079a7455e9dfbcada1aa135ad1ab9f24e8 /tests/core.fnl
parent1b309ac016d806d2f9b44540ed5020f5c60c4256 (diff)
fix(core): revert fn* to defn change
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]