diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-19 07:48:02 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-19 07:48:02 +0000 |
commit | 41f4317f45021460871bd11c666f438f5517904b (patch) | |
tree | c7ac02b58faafe7f92946fe8f14c18480280624f /test/ruby/test_symbol.rb | |
parent | 311b7154839b91c87ee40908ac6d3f5c330d7b11 (diff) | |
download | ruby-41f4317f45021460871bd11c666f438f5517904b.tar.gz |
test/ruby: suppress parser warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_symbol.rb')
-rw-r--r-- | test/ruby/test_symbol.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_symbol.rb b/test/ruby/test_symbol.rb index 7ed478864c..9c51e26200 100644 --- a/test/ruby/test_symbol.rb +++ b/test/ruby/test_symbol.rb @@ -356,7 +356,7 @@ class TestSymbol < Test::Unit::TestCase def test_symbol_fstr_leak bug10686 = '[ruby-core:67268] [Bug #10686]' - x = 0 + x = x = 0 assert_no_memory_leak([], '200_000.times { |i| i.to_s.to_sym }; GC.start', <<-"end;", bug10686, limit: 1.71, rss: true) 200_000.times { |i| (i + 200_000).to_s.to_sym } end; |