mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Relax test requirements for DYM's verbose formatter
This commit is contained in:
parent
56faa13a1c
commit
cc7455dd1e
1 changed files with 1 additions and 2 deletions
|
@ -12,11 +12,10 @@ class VerboseFormatterTest < Test::Unit::TestCase
|
||||||
def test_message
|
def test_message
|
||||||
@error = assert_raise(NoMethodError){ 1.zeor? }
|
@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
|
undefined method `zeor?' for 1:Integer
|
||||||
|
|
||||||
Did you mean? zero?
|
Did you mean? zero?
|
||||||
|
|
||||||
MESSAGE
|
MESSAGE
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue