about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-12-15 04:21:32 +0000
committerEric Wong <e@80x24.org>2019-12-15 04:53:47 +0000
commitf8b38d786942c6693662d2f998e810b2a3071719 (patch)
tree08d58300c122d12bb4257794d5fb2ecb41cb118f
parent041138d280a49f6ab122c4299503b9fc9d671643 (diff)
downloadunicorn-f8b38d786942c6693662d2f998e810b2a3071719.tar.gz
Ruby 2.7.0dev warns on them
-rw-r--r--test/unit/test_util.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/test_util.rb b/test/unit/test_util.rb
index 9d5d4ef..4a820ea 100644
--- a/test/unit/test_util.rb
+++ b/test/unit/test_util.rb
@@ -114,7 +114,7 @@ class TestUtil < Test::Unit::TestCase
       f_getpipe_sz = 1032
       IO.pipe do |a, b|
         a_sz = a.fcntl(f_getpipe_sz)
-        b_sz = b.fcntl(f_getpipe_sz)
+        b.fcntl(f_getpipe_sz)
         assert_kind_of Integer, a_sz
         r_sz = r.fcntl(f_getpipe_sz)
         assert_equal Raindrops::PAGE_SIZE, r_sz