Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
littleredcomputer committed Oct 11, 2023
1 parent f37e03e commit bf86cf5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion test/emmy/function_test.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 2 additions & 3 deletions test/emmy/generic_test.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
Expand Down

0 comments on commit bf86cf5

Please sign in to comment.