diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-06-28 17:08:21 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-06-28 17:08:21 +0900 |
commit | 5331932cd22f4dab84196eca55a05264dc0b84d7 (patch) | |
tree | 013608e7ad29c1765b975253356a6ad5c947e717 /test | |
parent | 8d04f90da486a34f54589c2835518b1d720a4253 (diff) | |
download | ruby-5331932cd22f4dab84196eca55a05264dc0b84d7.tar.gz |
Removed unused variables
Diffstat (limited to 'test')
-rw-r--r-- | test/-ext-/tracepoint/test_tracepoint.rb | 2 | ||||
-rw-r--r-- | test/ripper/test_lexer.rb | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/test/-ext-/tracepoint/test_tracepoint.rb b/test/-ext-/tracepoint/test_tracepoint.rb index 33d0c3e8e1..d8aa1e4636 100644 --- a/test/-ext-/tracepoint/test_tracepoint.rb +++ b/test/-ext-/tracepoint/test_tracepoint.rb @@ -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 diff --git a/test/ripper/test_lexer.rb b/test/ripper/test_lexer.rb index c8cc512a33..060d5f2db9 100644 --- a/test/ripper/test_lexer.rb +++ b/test/ripper/test_lexer.rb @@ -2,7 +2,6 @@ begin require 'ripper' require 'test/unit' - ripper_test = true module TestRipper; end rescue LoadError end |