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