diff options
| author | Andrey Listopadov <andreyorst@gmail.com> | 2023-08-26 19:40:29 +0000 |
|---|---|---|
| committer | Andrey Listopadov <andreyorst@gmail.com> | 2023-08-26 19:40:29 +0000 |
| commit | 3332e86562d9381c5fcf6a6f5205240f5e9d4f39 (patch) | |
| tree | 22f8663094bd618f191a13a1f20b5c664666071f /tests/macros.fnl | |
| parent | a11d9a991b96178f5a572473841434ebe1715d72 (diff) | |
Move everything to a single file
Now the library is fully self-contained and doesn't require any
special flags to be used. Macros are now shipped inside the library
itself and can be required by user code by requiring the same module
name as the library.
Diffstat (limited to 'tests/macros.fnl')
| -rw-r--r-- | tests/macros.fnl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/macros.fnl b/tests/macros.fnl index 66cd158..3b3eeba 100644 --- a/tests/macros.fnl +++ b/tests/macros.fnl @@ -1,10 +1,9 @@ (require-macros :fennel-test) -(require-macros :init-macros) +(require-macros (doto :cljlib require)) (local (meta? fennel) (pcall require :fennel)) (fn meta [x] - {:fnl/docstring (fennel.metadata:get x :fnl/docstring) - :fnl/arglist (fennel.metadata:get x :fnl/arglist)}) + (fennel.metadata:get x)) (deftest test-let-variants (testing "when-let" |