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

ruby-changes:39930

From: nobu <ko1@a...>
Date: Sun, 4 Oct 2015 08:17:31 +0900 (JST)
Subject: [ruby-changes:39930] nobu:r52011 (trunk): test_symbol.rb: reduce iteration

nobu	2015-10-04 08:17:15 +0900 (Sun, 04 Oct 2015)

  New Revision: 52011

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

  Log:
    test_symbol.rb: reduce iteration
    
    * test/ruby/test_symbol.rb (test_to_proc): reduce iteration
      count more.

  Modified files:
    trunk/test/ruby/test_symbol.rb
Index: test/ruby/test_symbol.rb
===================================================================
--- test/ruby/test_symbol.rb	(revision 52010)
+++ test/ruby/test_symbol.rb	(revision 52011)
@@ -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
-      10.times {Proc.new(&:itself)}
+      2.times {Proc.new(&:itself)}
     end;
   end
 

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

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