venantius / ultra

A Leiningen plugin for a superior development environment
Eclipse Public License 1.0
1.24k stars 37 forks source link

Num comparisons shouldn't care #46

Closed venantius closed 8 years ago

venantius commented 8 years ago

This should be reported properly

expected: 2
  actual: 1

expected: 1 to be an instance of java.lang.Integer
     was: 1 is an instance of java.lang.Long
venantius commented 8 years ago

I can't reproduce this issue.

metametadata commented 8 years ago

Is reproducible with this:

(is (= (count [1 2]) 1))

output:

expected: 2
  actual: 1

expected: 1 to be an instance of java.lang.Integer
     was: 1 is an instance of java.lang.Long