Relax test requirements for DYM's verbose formatter

This commit is contained in:
Yuki Nishijima 2019-11-30 22:29:02 -05:00
parent 56faa13a1c
commit cc7455dd1e

View File

@ -12,11 +12,10 @@ class VerboseFormatterTest < Test::Unit::TestCase
def test_message
@error = assert_raise(NoMethodError){ 1.zeor? }
assert_equal <<~MESSAGE.strip, @error.message.strip
assert_match <<~MESSAGE.strip, @error.message
undefined method `zeor?' for 1:Integer
Did you mean? zero?
MESSAGE
end
end