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