diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-04-24 02:16:38 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-04-24 02:16:38 +0000 |
commit | 313e34b461365768fa5432ff8e2641664f40021b (patch) | |
tree | c66e1f91b87df19b197c363d21f76471f292f38c /test/ruby | |
parent | 977a5147b49d15fe9e6f8f0f82c6daf44ea63395 (diff) | |
download | ruby-313e34b461365768fa5432ff8e2641664f40021b.tar.gz |
Add test for r45492, r45693, r45698
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_symbol.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/ruby/test_symbol.rb b/test/ruby/test_symbol.rb index f24bb81583..0cc760ae00 100644 --- a/test/ruby/test_symbol.rb +++ b/test/ruby/test_symbol.rb @@ -223,8 +223,14 @@ class TestSymbol < Test::Unit::TestCase 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 |