From 60d99f85b6d4f0ec23ad21d3b1767084c5eb8b46 Mon Sep 17 00:00:00 2001 From: Andrey Listopadov Date: Fri, 19 Feb 2021 20:19:37 +0300 Subject: 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 --- tests/test.fnl | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'tests/test.fnl') 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]}}) -- cgit v1.2.3