diff options
| author | Andrey Orst <andreyorst@gmail.com> | 2020-11-07 13:06:36 +0300 |
|---|---|---|
| committer | Andrey Orst <andreyorst@gmail.com> | 2020-11-07 13:06:36 +0300 |
| commit | e0c883ae5e00a6a8f4cdeea0cea497ceac072c5c (patch) | |
| tree | 247a90bda773006561cfbd70db124d7937336575 /test/fn.fnl | |
| parent | 2839566c7f83747bb8e2f28ae47699bd27f0ada7 (diff) | |
fix(macros): fix metadata tests
Diffstat (limited to 'test/fn.fnl')
| -rw-r--r-- | test/fn.fnl | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/fn.fnl b/test/fn.fnl index b9876ca..7ea7c0a 100644 --- a/test/fn.fnl +++ b/test/fn.fnl @@ -40,10 +40,8 @@ (testing fn&-meta (fn& f "docstring" [x] x) (assert-eq (meta f) {:fnl/docstring "docstring" - ;; :fnl/arglist ["x"] ;; TODO: why this works only in REPL? - }) + :fnl/arglist ["x"]}) (fn& f "docstring" [...] [...]) (assert-eq (meta f) {:fnl/docstring "docstring" - ;; :fnl/arglist ["..."] ;; TODO: same as above - }))) + :fnl/arglist ["..."]}))) |