mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Remove the test for DYM's verbose formatter
This commit is contained in:
parent
66df18c55e
commit
905be49bf6
1 changed files with 0 additions and 8 deletions
|
@ -36,14 +36,6 @@ class TestOptionParser::DidYouMean < TestOptionParser
|
|||
end
|
||||
end
|
||||
|
||||
def test_verbose
|
||||
require 'did_you_mean/formatters/verbose_formatter'
|
||||
::DidYouMean.formatter = ::DidYouMean::VerboseFormatter.new
|
||||
assert_raise_with_message(OptionParser::InvalidOption, /invalid option: --baa\n\s+Did you mean\?\s+bar\s+baz\s*\Z/) do
|
||||
@opt.permute!(%w"--baa")
|
||||
end
|
||||
end
|
||||
|
||||
def test_ambiguos
|
||||
assert_raise_with_message(OptionParser::AmbiguousOption, /ambiguous option: --ba\nDid you mean\?\s+bar\s+baz\Z/) do
|
||||
@opt.permute!(%w"--ba")
|
||||
|
|
Loading…
Add table
Reference in a new issue