unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* [PATCH] test_util: get rid of some unused variables in tests
@ 2019-12-15  4:21 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2019-12-15  4:21 UTC (permalink / raw)
  To: unicorn-public

Ruby 2.7.0dev warns on them
---
 test/unit/test_util.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 @@ def test_pipe
       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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-12-15  4:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-15  4:21 [PATCH] test_util: get rid of some unused variables in tests Eric Wong

Code repositories for project(s) associated with this public inbox

	https://yhbt.net/unicorn.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).