From 3332e86562d9381c5fcf6a6f5205240f5e9d4f39 Mon Sep 17 00:00:00 2001 From: Andrey Listopadov Date: Sat, 26 Aug 2023 19:40:29 +0000 Subject: 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. --- tests/macros.fnl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tests/macros.fnl') 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" -- cgit v1.2.3