From bf86cf536b6656ca9373368b493e8515b32586a6 Mon Sep 17 00:00:00 2001 From: Colin Smith Date: Wed, 11 Oct 2023 10:59:42 -0700 Subject: [PATCH] tweaks --- test/emmy/function_test.cljc | 3 ++- test/emmy/generic_test.cljc | 5 ++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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)))