mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Removed unused variables
This commit is contained in:
parent
8d04f90da4
commit
5331932cd2
2 changed files with 1 additions and 2 deletions
|
@ -41,7 +41,7 @@ class TestTracepointObj < Test::Unit::TestCase
|
|||
GC.stat(stat2)
|
||||
GC.enable
|
||||
|
||||
newobj_count, free_count, gc_start_count, gc_end_mark_count, gc_end_sweep_count, *newobjs = *result
|
||||
newobj_count, free_count, gc_start_count, gc_end_mark_count, gc_end_sweep_count, = *result
|
||||
|
||||
assert_operator stat2[:total_allocated_objects] - stat1[:total_allocated_objects], :>=, newobj_count
|
||||
assert_operator 1_000_000, :<=, newobj_count
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
begin
|
||||
require 'ripper'
|
||||
require 'test/unit'
|
||||
ripper_test = true
|
||||
module TestRipper; end
|
||||
rescue LoadError
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue