Relax test requirements for DYM's verbose formatter
This commit is contained in:
parent
56faa13a1c
commit
cc7455dd1e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user