about summary refs log tree commit homepage
path: root/test/test_middleware_unicorn.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-06-27 03:30:39 +0000
committerEric Wong <normalperson@yhbt.net>2011-06-27 03:42:43 +0000
commit18318887920773d43b72e9fb6490d3e74674bcf0 (patch)
tree94d0a2d11aad58c9b48e2f726bfe0138d5c1d57f /test/test_middleware_unicorn.rb
parentad3bf417b45d50be7b0121b5dacca2bc95b7953b (diff)
downloadraindrops-18318887920773d43b72e9fb6490d3e74674bcf0.tar.gz
Found in the check-warnings target in pkg.mk
Diffstat (limited to 'test/test_middleware_unicorn.rb')
-rw-r--r--test/test_middleware_unicorn.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_middleware_unicorn.rb b/test/test_middleware_unicorn.rb
index 0a506e5..805c559 100644
--- a/test/test_middleware_unicorn.rb
+++ b/test/test_middleware_unicorn.rb
@@ -24,7 +24,7 @@ class TestMiddlewareUnicorn < Test::Unit::TestCase
     s = TCPSocket.new @host, @port
     s.write "GET /_raindrops HTTP/1.0\r\n\r\n"
     resp = s.read
-    head, body = resp.split /\r\n\r\n/, 2
+    _, body = resp.split(/\r\n\r\n/, 2)
     assert_match %r{^#@addr_regexp active: 1$}, body
     assert_match %r{^#@addr_regexp queued: 0$}, body
   end