diff options
| author | Andrey Listopadov <andreyorst@gmail.com> | 2021-06-23 18:46:22 +0300 |
|---|---|---|
| committer | Andrey Listopadov <andreyorst@gmail.com> | 2021-06-23 18:46:22 +0300 |
| commit | f49835c11b16b0d8cf136f076c31cbc28f1f4931 (patch) | |
| tree | dacf3c29ce3849835e5d4c7f934a7f42a6a0e7c2 /tests | |
| parent | 89229826da0c2b8e019f2f078c2e8de7471e1d7e (diff) | |
refactor library to use new init-macros.fnl feature
Old way of requiring the library:
(local clj (require :fennel-cljlib)
(import-macros cljm :fennel-cljlib.macros)
New way:
(local clj (require :fennel-cljlib)
(import-macros cljm :fennel-cljlib)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/core.fnl | 2 | ||||
| -rw-r--r-- | tests/fn.fnl | 2 | ||||
| -rw-r--r-- | tests/macros.fnl | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/core.fnl b/tests/core.fnl index bac93dd..d759fe4 100644 --- a/tests/core.fnl +++ b/tests/core.fnl @@ -1,4 +1,4 @@ -(require-macros :macros) +(require-macros :init-macros) (require-macros :fennel-test.test) (macro require-module [module] diff --git a/tests/fn.fnl b/tests/fn.fnl index 9b99119..3517918 100644 --- a/tests/fn.fnl +++ b/tests/fn.fnl @@ -1,5 +1,5 @@ (require-macros :fennel-test.test) -(require-macros :macros) +(require-macros :init-macros) (deftest fn* (testing "fn* meta" diff --git a/tests/macros.fnl b/tests/macros.fnl index 2176f15..bef0390 100644 --- a/tests/macros.fnl +++ b/tests/macros.fnl @@ -1,5 +1,5 @@ (require-macros :fennel-test.test) -(require-macros :macros) +(require-macros :init-macros) (deftest into (testing "into" |