Fix clojure.core/= comparison

This commit is contained in:
Miloslav Nenadal 2016-02-27 21:51:18 +01:00
parent d1ffba2c01
commit 76608ef516
2 changed files with 6 additions and 3 deletions

View file

@ -22,6 +22,6 @@
#?(:clj (defmethod assert-expr '= [menv msg [_ a & more]] #?(:clj (defmethod assert-expr '= [menv msg [_ a & more]]
(=-body 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))) (=-body msg a more)))

View file

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