Browse Source

Fix clojure.core/= comparison

tags/0.8.0
Miloslav Nenadal 6 years ago
parent
commit
76608ef516
  1. 2
      src/pjstadig/assert_expr.cljc
  2. 7
      test/fixtures/test_output_cljs

2
src/pjstadig/assert_expr.cljc

@ -22,6 +22,6 @@
#?(:clj (defmethod assert-expr '= [menv msg [_ a & more]]
(=-body msg a more)))
#?(:clj (defmethod assert-expr 'cljs.core/= [menv msg [_ a & more]]
#?(:clj (defmethod assert-expr 'clojure.core/= [menv msg [_ a & more]]
(=-body msg a more)))

7
test/fixtures/test_output_cljs

@ -77,8 +77,11 @@ expected: (list? foo)
FAIL in (t-macro-wrapping) (:)
THIS ONE SHOULD ALSO FAIL
expected: (clojure.core/= 1 2)
actual: (not (clojure.core/= 1 2))
expected: 1
actual: 2
diff: - 1
+ 2
Testing pjstadig.humane-test-output.records-test

Loading…
Cancel
Save