From c1cd95f40ddd8af63a719889665f1be0d62e71f3 Mon Sep 17 00:00:00 2001 From: "Mario T. Lanza" Date: Mon, 3 Jun 2024 11:38:31 -0400 Subject: [PATCH] update test --- tests/tests.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/tests.js b/tests/tests.js index b978d1fa..c8066cda 100644 --- a/tests/tests.js +++ b/tests/tests.js @@ -102,11 +102,11 @@ test("hashing", function({assert, same, equals, notEquals}){ //same([{blackwidow: "Avenger"}, _.date(774), [1, 2]], [{blackwidow: "Avenger"}, _.date(774), [1, 2]]); }, { tests: function(tests){ //add custom test - const {equals, assert} = tests; + const {eq, equals, assert} = tests; function same(x, y, re = null){ equals(_.hash(x), _.hash(y), re); equals(_.hash(x), _.hash(x), re); - assert(_.equiv(x, y), re); + eq(x, y, re); } return {same, ...tests}; }