diff options
| author | Andrey Listopadov <andreyorst@gmail.com> | 2021-02-19 20:19:37 +0300 |
|---|---|---|
| committer | Andrey Listopadov <andreyorst@gmail.com> | 2021-02-19 20:19:37 +0300 |
| commit | 60d99f85b6d4f0ec23ad21d3b1767084c5eb8b46 (patch) | |
| tree | b99703275e20b86146517cc132c988a30155dc74 /tests/test.fnl | |
| parent | a0318645ec4ed7f4bfa6ab50d0a5ee7fc67b8006 (diff) | |
fix: release 0.5.1
- eq will no longer change metamethods of tables
- module info is hidden in metatable now
- memoize uses proper deep comparison
- tests no longer requires searching up in core namespace
- memoization test doesn't depend on CPU speed anymore
Diffstat (limited to 'tests/test.fnl')
| -rw-r--r-- | tests/test.fnl | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/test.fnl b/tests/test.fnl index 71b89af..2d9293a 100644 --- a/tests/test.fnl +++ b/tests/test.fnl @@ -131,7 +131,9 @@ Deep compare values: `(do (io.stdout:write (.. "testing: " ,description "\n")) ,...)) -(doto test - (tset :_DOC_ORDER #[:deftest :testing - :assert-eq :assert-ne - :assert-is :assert-not])) +(setmetatable + test + {:__index + {:_DOC_ORDER [:deftest :testing + :assert-eq :assert-ne + :assert-is :assert-not]}}) |