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

ruby-changes:38833

From: ko1 <ko1@a...>
Date: Tue, 16 Jun 2015 17:39:19 +0900 (JST)
Subject: [ruby-changes:38833] ko1:r50914 (trunk): * test/objspace/test_objspace.rb: relax pattern because uncollectible

ko1	2015-06-16 17:38:55 +0900 (Tue, 16 Jun 2015)

  New Revision: 50914

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

  Log:
    * test/objspace/test_objspace.rb: relax pattern because uncollectible
      flag and marked flag can be false at major GC.

  Modified files:
    trunk/ChangeLog
    trunk/test/objspace/test_objspace.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 50913)
+++ ChangeLog	(revision 50914)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Jun 16 17:37:01 2015  Koichi Sasada  <ko1@a...>
+
+	* test/objspace/test_objspace.rb: relax pattern because uncollectible
+	  flag and marked flag can be false at major GC.
+
 Tue Jun 16 04:50:44 2015  Eric Wong  <e@8...>
 
 	* ext/socket/basicsocket.c (bsock_recv): document outbuf
Index: test/objspace/test_objspace.rb
===================================================================
--- test/objspace/test_objspace.rb	(revision 50913)
+++ test/objspace/test_objspace.rb	(revision 50914)
@@ -205,7 +205,7 @@ class TestObjSpace < Test::Unit::TestCas https://github.com/ruby/ruby/blob/trunk/test/objspace/test_objspace.rb#L205
 
   def test_dump_flags
     info = ObjectSpace.dump("foo".freeze)
-    assert_match /"wb_protected":true, "old":true, "uncollectible":true, "marked":true/, info
+    assert_match /"wb_protected":true, "old":true/, info
     assert_match /"fstring":true/, info
   end
 

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

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