diff options
| author | Andrey Listopadov <andreyorst@gmail.com> | 2021-02-16 10:03:44 +0300 |
|---|---|---|
| committer | Andrey Listopadov <andreyorst@gmail.com> | 2021-02-16 10:05:12 +0300 |
| commit | 7feb5aabe6e71ad6e65c72ca3cc977541c0991c4 (patch) | |
| tree | 807b46fe652d6a40765ff9bfcf2a9d9ac5bdc03d /tests/core.fnl | |
| parent | 8fdf428ca9c668f7a186721d39e9ba857bec77e6 (diff) | |
fix(tests): fix test macros to correctly report errors
runtime errors captured via pcall
Diffstat (limited to 'tests/core.fnl')
| -rw-r--r-- | tests/core.fnl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/core.fnl b/tests/core.fnl index 0220c06..fe14670 100644 --- a/tests/core.fnl +++ b/tests/core.fnl @@ -790,6 +790,7 @@ (testing "sets into tables" (assert-eq (into [] (core.ordered-set 1 2 3)) [1 2 3]) + (assert-eq (into [] (core.ordered-set :a :b :c)) [:a :b :c]) (assert-eq (into {} (core.ordered-set [:a 1] [:b 2])) {:a 1 :b 2}))) (deftest memoization |