summaryrefslogtreecommitdiff
path: root/test/-ext-
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-06-28 17:08:21 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-06-28 17:08:21 +0900
commit5331932cd22f4dab84196eca55a05264dc0b84d7 (patch)
tree013608e7ad29c1765b975253356a6ad5c947e717 /test/-ext-
parent8d04f90da486a34f54589c2835518b1d720a4253 (diff)
Removed unused variables
Diffstat (limited to 'test/-ext-')
-rw-r--r--test/-ext-/tracepoint/test_tracepoint.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/-ext-/tracepoint/test_tracepoint.rb b/test/-ext-/tracepoint/test_tracepoint.rb
index 33d0c3e..d8aa1e4 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