[ruby/optparse] Fix typo [ci skip]
https://github.com/ruby/optparse/commit/0aa18752cf
This commit is contained in:
parent
e9a13332e8
commit
b5d9c44267
@ -36,7 +36,7 @@ class TestOptionParser::DidYouMean < TestOptionParser
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_ambiguos
|
def test_ambiguous
|
||||||
assert_raise_with_message(OptionParser::AmbiguousOption, /ambiguous option: --ba\nDid you mean\?\s+bar\s+baz\Z/) do
|
assert_raise_with_message(OptionParser::AmbiguousOption, /ambiguous option: --ba\nDid you mean\?\s+bar\s+baz\Z/) do
|
||||||
@opt.permute!(%w"--ba")
|
@opt.permute!(%w"--ba")
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user