mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Suppress unused variable warning with RUBYOPT=-w
This commit is contained in:
parent
ff7f71b288
commit
c9bbcaccf2
1 changed files with 1 additions and 1 deletions
|
@ -400,7 +400,7 @@ class TestObjSpace < Test::Unit::TestCase
|
|||
def dump_my_heap_please
|
||||
ObjectSpace.trace_object_allocations_start
|
||||
GC.start
|
||||
str = "TEST STRING".force_encoding("UTF-8")
|
||||
(str = "TEST STRING").force_encoding("UTF-8")
|
||||
ObjectSpace.dump_all().path
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue