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

ruby-changes:39923

From: nobu <ko1@a...>
Date: Fri, 2 Oct 2015 12:36:04 +0900 (JST)
Subject: [ruby-changes:39923] nobu:r52004 (trunk): test_symbol.rb: reduce iteration

nobu	2015-10-02 12:35:58 +0900 (Fri, 02 Oct 2015)

  New Revision: 52004

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

  Log:
    test_symbol.rb: reduce iteration
    
    * test/ruby/test_symbol.rb (test_to_proc): reduce iteration
      count.  actually it reproduced in 2 times.

  Modified files:
    trunk/test/ruby/test_symbol.rb
Index: test/ruby/test_symbol.rb
===================================================================
--- test/ruby/test_symbol.rb	(revision 52003)
+++ test/ruby/test_symbol.rb	(revision 52004)
@@ -125,7 +125,7 @@ class TestSymbol < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_symbol.rb#L125
 
     assert_ruby_status([], <<-"end;", timeout: 5.0)
       GC.stress = true
-      100.times {Proc.new(&:itself)}
+      10.times {Proc.new(&:itself)}
     end;
   end
 

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

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