about summary refs log tree commit homepage
path: root/t/oob_gc_path.ru
diff options
context:
space:
mode:
Diffstat (limited to 't/oob_gc_path.ru')
-rw-r--r--t/oob_gc_path.ru4
1 files changed, 1 insertions, 3 deletions
diff --git a/t/oob_gc_path.ru b/t/oob_gc_path.ru
index af8e3b9..5358222 100644
--- a/t/oob_gc_path.ru
+++ b/t/oob_gc_path.ru
@@ -1,4 +1,5 @@
 #\-E none
+# frozen_string_literal: false
 require 'unicorn/oob_gc'
 use Rack::ContentLength
 use Rack::ContentType, "text/plain"
@@ -7,9 +8,6 @@ $gc_started = false
 
 # Mock GC.start
 def GC.start
-  ObjectSpace.each_object(Kgio::Socket) do |x|
-    x.closed? or abort "not closed #{x}"
-  end
   $gc_started = true
 end
 run lambda { |env|