From e4dd661631e109e8f0eab3ab0ce117464acde7a0 Mon Sep 17 00:00:00 2001 From: Andrey Orst Date: Fri, 13 Nov 2020 23:04:25 +0300 Subject: fix(core): revert fn* to defn change --- tests/macros.fnl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/macros.fnl') diff --git a/tests/macros.fnl b/tests/macros.fnl index 402e42d..a9b41fe 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 (defn ([x] x) ([x y] [x y]))) + (defmulti f (fn* ([x] x) ([x y] [x y]))) (defmethod f :default ([_] :def) ([_ _] :def2)) (defmethod f :4 ([x] (.. x :2))) (defmethod f [:4 :2] ([x y] 42)) -- cgit v1.2.3