1
0
Fork 0
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:
Nobuyoshi Nakada 2019-06-28 17:08:21 +09:00
parent 8d04f90da4
commit 5331932cd2
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60
2 changed files with 1 additions and 2 deletions

View file

@ -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

View file

@ -2,7 +2,6 @@
begin
require 'ripper'
require 'test/unit'
ripper_test = true
module TestRipper; end
rescue LoadError
end