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

ruby-changes:25775

From: tadf <ko1@a...>
Date: Sat, 24 Nov 2012 19:31:22 +0900 (JST)
Subject: [ruby-changes:25775] tadf:r37832 (trunk): * test/ruby/test_rubyoptions.rb (test_usage, test_usage_long):

tadf	2012-11-24 19:31:10 +0900 (Sat, 24 Nov 2012)

  New Revision: 37832

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

  Log:
    * test/ruby/test_rubyoptions.rb (test_usage, test_usage_long):
      reduced, renamed.

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

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 37831)
+++ ChangeLog	(revision 37832)
@@ -1,3 +1,8 @@
+Sat Nov 24 19:29:18 2012  Tadayoshi Funaba  <tadf@d...>
+
+	* test/ruby/test_rubyoptions.rb (test_usage, test_usage_long):
+	  reduced, renamed.
+
 Sat Nov 24 13:10:14 2012  Koichi Sasada  <ko1@a...>
 
 	* vm_trace.c (rb_tracepoint_attr_raised_exception): should not check
Index: test/ruby/test_rubyoptions.rb
===================================================================
--- test/ruby/test_rubyoptions.rb	(revision 37831)
+++ test/ruby/test_rubyoptions.rb	(revision 37832)
@@ -30,16 +30,13 @@
   def test_usage
     assert_in_out_err(%w(-h)) do |r, e|
       assert_operator(r.size, :<=, 24)
-      assert_equal([], e)
-    end
-  end
-
-  def test_usage2
-    assert_in_out_err(%w(-h)) do |r, e|
       longer = r[1..-1].select {|x| x.size > 80}
       assert_equal([], longer)
       assert_equal([], e)
     end
+  end
+
+  def test_usage_long
     assert_in_out_err(%w(--help)) do |r, e|
       longer = r[1..-1].select {|x| x.size > 80}
       assert_equal([], longer)

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

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