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

ruby-changes:37099

From: usa <ko1@a...>
Date: Thu, 8 Jan 2015 15:31:42 +0900 (JST)
Subject: [ruby-changes:37099] usa:r49180 (trunk): * test/ruby/test_symbol.rb (TestSymbol#test_symbol_fstr_leak): get rid of a

usa	2015-01-08 15:31:30 +0900 (Thu, 08 Jan 2015)

  New Revision: 49180

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

  Log:
    * test/ruby/test_symbol.rb (TestSymbol#test_symbol_fstr_leak): get rid of a
      false positive on mswin CI.

  Modified files:
    trunk/test/ruby/test_symbol.rb
Index: test/ruby/test_symbol.rb
===================================================================
--- test/ruby/test_symbol.rb	(revision 49179)
+++ test/ruby/test_symbol.rb	(revision 49180)
@@ -234,7 +234,7 @@ class TestSymbol < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_symbol.rb#L234
   def test_symbol_fstr_leak
     bug10686 = '[ruby-core:67268] [Bug #10686]'
     x = 0
-    assert_no_memory_leak([], '', <<-"end;", bug10686)
+    assert_no_memory_leak([], '', <<-"end;", bug10686, limit: 1.65)
       200_000.times { |i| i.to_s.to_sym }
     end;
   end

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

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