summary refs log tree commit homepage
path: root/t/hijack.ru
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2018-05-18 06:27:05 +0000
committerEric Wong <e@80x24.org>2019-01-02 21:40:46 +0000
commit229286be544e76771d2a64637b3c692e51cbd878 (patch)
treea29be86e137e4619030fb19cdcaad1b60391c386 /t/hijack.ru
parentde313da55531438b73c8cb54663ce0f8ab880465 (diff)
Ruby trunk started warning about more mismatched indentations
starting around r62836.
Diffstat (limited to 't/hijack.ru')
-rw-r--r--t/hijack.ru4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/hijack.ru b/t/hijack.ru
index 64c23d7..16b5f38 100644
--- a/t/hijack.ru
+++ b/t/hijack.ru
@@ -45,9 +45,9 @@ run lambda { |env|
     [ 200,
       {
         "Content-Length" => r.bytesize.to_s,
-        "rack.hijack" => proc do |io|
+        "rack.hijack" => proc do |sock|
           io.write(r)
-          lazy_close(io)
+          lazy_close(sock)
         end
       },
       DieIfUsed.new