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

ruby-changes:33618

From: naruse <ko1@a...>
Date: Thu, 24 Apr 2014 11:16:42 +0900 (JST)
Subject: [ruby-changes:33618] naruse:r45699 (trunk): Add test for r45492, r45693, r45698

naruse	2014-04-24 11:16:38 +0900 (Thu, 24 Apr 2014)

  New Revision: 45699

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

  Log:
    Add test for r45492, r45693, r45698

  Modified files:
    trunk/test/ruby/test_symbol.rb
Index: test/ruby/test_symbol.rb
===================================================================
--- test/ruby/test_symbol.rb	(revision 45698)
+++ test/ruby/test_symbol.rb	(revision 45699)
@@ -223,8 +223,14 @@ class TestSymbol < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_symbol.rb#L223
   end
 
   def test_symol_gc_1
+    assert_normal_exit('".".intern;GC.start(immediate_sweep:false);eval %[GC.start;".".intern]',
+                       '',
+                       child_env: '--disable-gems')
     assert_normal_exit('".".intern;GC.start(immediate_sweep:false);eval %[GC.start;:"."]',
                        '',
                        child_env: '--disable-gems')
+    assert_normal_exit('".".intern;GC.start(immediate_sweep:false);eval %[GC.start;%i"."]',
+                       '',
+                       child_env: '--disable-gems')
   end
 end

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

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