ruby-changes:69573
From: Nobuyoshi <ko1@a...>
Date: Wed, 3 Nov 2021 19:56:10 +0900 (JST)
Subject: [ruby-changes:69573] b5d9c44267 (master): [ruby/optparse] Fix typo [ci skip]
https://git.ruby-lang.org/ruby.git/commit/?id=b5d9c44267 From b5d9c442675a18c63418ff692a67291ccecfa752 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Wed, 3 Nov 2021 18:34:13 +0900 Subject: [ruby/optparse] Fix typo [ci skip] https://github.com/ruby/optparse/commit/0aa18752cf --- test/optparse/test_did_you_mean.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/optparse/test_did_you_mean.rb b/test/optparse/test_did_you_mean.rb index 39129ffb19b..aa866f40721 100644 --- a/test/optparse/test_did_you_mean.rb +++ b/test/optparse/test_did_you_mean.rb @@ -36,7 +36,7 @@ class TestOptionParser::DidYouMean < TestOptionParser https://github.com/ruby/ruby/blob/trunk/test/optparse/test_did_you_mean.rb#L36 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 @opt.permute!(%w"--ba") end -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/