diff --git a/test/emmy/function_test.cljc b/test/emmy/function_test.cljc index eb79525d..704719d6 100644 --- a/test/emmy/function_test.cljc +++ b/test/emmy/function_test.cljc @@ -11,7 +11,8 @@ [emmy.value :as v] [same.core :refer [ish? with-comparator]])) -(defmulti unknown-multifn-for-test) + +(defmulti unknown-multifn-for-test identity) (deftest value-protocol-tests (testing "g/zero? returns false for fns" diff --git a/test/emmy/generic_test.cljc b/test/emmy/generic_test.cljc index 42bce649..98526703 100644 --- a/test/emmy/generic_test.cljc +++ b/test/emmy/generic_test.cljc @@ -49,11 +49,10 @@ (kind [_] ::wrap) #?@(:clj [Comparable - (compareTo [_ b] - (compare s (.-s b)))] + (compareTo [_ b] (compare s (.-s b)))] :cljs [IComparable - (-compare [x] (compare s x))])) + (-compare [_ b] (compare s (.-s b)))])) (defmethod g/zero? [::wrap] [a] (= a (g/zero-like a))) (defmethod g/one? [::wrap] [a] (= a (g/one-like a)))