summaryrefslogtreecommitdiff
path: root/test/macros.fnl
diff options
context:
space:
mode:
authorAndrey Orst <andreyorst@gmail.com>2020-11-10 23:26:08 +0300
committerAndrey Orst <andreyorst@gmail.com>2020-11-10 23:26:08 +0300
commit5bf187555012925bbd464b86ca49f7bd37e2c51c (patch)
tree50fe4d7fefaa62e09bbe4320a6c4cf97df59fbff /test/macros.fnl
parent61345c5ace172f3c6f133f8ffb09722c5b9a9b08 (diff)
feature(core): breaking change of project structure
Diffstat (limited to 'test/macros.fnl')
-rw-r--r--test/macros.fnl6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/macros.fnl b/test/macros.fnl
index 4d4ac57..1876126 100644
--- a/test/macros.fnl
+++ b/test/macros.fnl
@@ -1,7 +1,5 @@
(require-macros :test.test)
-(local {: identity} (require :core))
-
-(require-macros :macros.core)
+(require-macros :cljlib-macros)
(deftest into
(testing "into"
@@ -74,7 +72,7 @@
(assert-eq (defmulti x (fn [x] (+ x 1))) nil))
(testing "defmulti defalut"
- (defmulti fac identity)
+ (defmulti fac (fn [x] x))
(defmethod fac 0 [_] 1)
(defmethod fac :default [x] (* x (fac (- x 1))))
(assert-eq (fac 42) 7538058755741581312))