sconover / wrong

Wrong provides a general assert method that takes a predicate block. Assertion failure messages are rich in detail.
MIT License
434 stars 31 forks source link

Fails to handle Ranges #43

Open eqv opened 10 years ago

eqv commented 10 years ago
require 'wrong'
include Wrong
assert{(1..2) == (1..1)}

produces a NoMethodError instead of the usual description (tested on ruby 2.1 and 1.9.3)