diff options
| author | Andrey Orst <andreyorst@gmail.com> | 2020-11-13 23:04:25 +0300 |
|---|---|---|
| committer | Andrey Orst <andreyorst@gmail.com> | 2020-11-13 23:04:25 +0300 |
| commit | e4dd661631e109e8f0eab3ab0ce117464acde7a0 (patch) | |
| tree | 82e8ef079a7455e9dfbcada1aa135ad1ab9f24e8 /tests/macros.fnl | |
| parent | 1b309ac016d806d2f9b44540ed5020f5c60c4256 (diff) | |
fix(core): revert fn* to defn change
Diffstat (limited to 'tests/macros.fnl')
| -rw-r--r-- | tests/macros.fnl | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |