From 67f871f622ce220b9d74cde7ef988cd4ed2358c9 Mon Sep 17 00:00:00 2001 From: Stan Verberkt <2913270+verberktstan@users.noreply.github.com> Date: Wed, 5 Jun 2024 05:55:54 +0200 Subject: [PATCH] Update core_test.clj --- test/swark/core_test.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/swark/core_test.clj b/test/swark/core_test.clj index d8fb9a0..2b48dcf 100644 --- a/test/swark/core_test.clj +++ b/test/swark/core_test.clj @@ -38,7 +38,7 @@ (t/is (thrown? AssertionError (sut/map-vals nil m))) (t/is (nil? (sut/map-vals inc nil))))) -t/deftest map-keys +(t/deftest map-keys (let [m {:a 1 :b 2}}] (t/testing "Returns the map with f applied to all it's keys" (t/is (= {:test/a 1, :test/b 2} (sut/map-keys (partial keyword "test") m))) @@ -46,7 +46,7 @@ t/deftest map-keys (sut/map-keys {:a :test/b :b :c} m)))) - (t/is (thrown? AssertionError (sut/map-keyss nil m))) + (t/is (thrown? AssertionError (sut/map-keys nil m))) (t/is (nil? (sut/map-keys inc nil))))) (t/deftest filter-keys