mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Add test for r45492, r45693, r45698
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
977a5147b4
commit
313e34b461
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue