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

ruby-changes:25250

From: nobu <ko1@a...>
Date: Wed, 24 Oct 2012 01:37:56 +0900 (JST)
Subject: [ruby-changes:25250] nobu:r37302 (trunk): test_rubyoptions.rb: --help option

nobu	2012-10-24 01:37:47 +0900 (Wed, 24 Oct 2012)

  New Revision: 37302

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=37302

  Log:
    test_rubyoptions.rb: --help option
    
    * test/ruby/test_rubyoptions.rb (TestRubyOptions#test_usage): now
      --help shows more lines.  [ruby-core:48072] [Bug #7184]

  Modified files:
    trunk/test/ruby/test_rubyoptions.rb

Index: test/ruby/test_rubyoptions.rb
===================================================================
--- test/ruby/test_rubyoptions.rb	(revision 37301)
+++ test/ruby/test_rubyoptions.rb	(revision 37302)
@@ -31,11 +31,6 @@
       assert_operator(r.size, :<=, 24)
       assert_equal([], e)
     end
-
-    assert_in_out_err(%w(--help)) do |r, e|
-      assert_operator(r.size, :<=, 24)
-      assert_equal([], e)
-    end
   end
 
   def test_option_variables

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

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