[前][次][番号順一覧][スレッド一覧]

ruby-changes:69349

From: Yuki <ko1@a...>
Date: Sat, 23 Oct 2021 10:14:34 +0900 (JST)
Subject: [ruby-changes:69349] 905be49bf6 (master): Remove the test for DYM's verbose formatter

https://git.ruby-lang.org/ruby.git/commit/?id=905be49bf6

From 905be49bf6b83f7dedb555f3f897f669cb16f1ad Mon Sep 17 00:00:00 2001
From: Yuki Nishijima <yk.nishijima@g...>
Date: Fri, 22 Oct 2021 21:14:01 -0400
Subject: Remove the test for DYM's verbose formatter

---
 test/optparse/test_did_you_mean.rb | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/test/optparse/test_did_you_mean.rb b/test/optparse/test_did_you_mean.rb
index 763062586c..39129ffb19 100644
--- a/test/optparse/test_did_you_mean.rb
+++ b/test/optparse/test_did_you_mean.rb
@@ -36,14 +36,6 @@ class TestOptionParser::DidYouMean < TestOptionParser https://github.com/ruby/ruby/blob/trunk/test/optparse/test_did_you_mean.rb#L36
     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")
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]