summaryrefslogtreecommitdiff
path: root/tests/macros.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/macros.fnl')
-rw-r--r--tests/macros.fnl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/macros.fnl b/tests/macros.fnl
index a9b41fe..402e42d 100644
--- a/tests/macros.fnl
+++ b/tests/macros.fnl
@@ -133,7 +133,7 @@
(assert-eq (meta g) (when-meta {:fnl/docstring "documentation"})))
(testing "defmulti with multiple arity"
- (defmulti f (fn* ([x] x) ([x y] [x y])))
+ (defmulti f (defn ([x] x) ([x y] [x y])))
(defmethod f :default ([_] :def) ([_ _] :def2))
(defmethod f :4 ([x] (.. x :2)))
(defmethod f [:4 :2] ([x y] 42))