mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
* parse.y (symbols_i): like r45492, call rb_gc_resurrect().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7973883c3a
commit
0f51db6a1e
3 changed files with 14 additions and 2 deletions
|
@ -232,5 +232,9 @@ class TestSymbol < Test::Unit::TestCase
|
|||
assert_normal_exit('".".intern;GC.start(immediate_sweep:false);eval %[GC.start;%i"."]',
|
||||
'',
|
||||
child_env: '--disable-gems')
|
||||
assert_normal_exit('tap{".".intern};GC.start(immediate_sweep:false);' +
|
||||
'eval %[syms=Symbol.all_symbols;GC.start;syms.each(&:to_sym)]',
|
||||
'',
|
||||
child_env: '--disable-gems')
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue