about summary refs log tree commit homepage
path: root/test
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2017-11-14 23:00:16 +0000
committerEric Wong <e@80x24.org>2017-11-14 23:00:16 +0000
commitfc10a4c09318a1402e5f9f1c770b1f772c12def0 (patch)
tree58e3d4d337a30a6e985a2227f961ed92cbb62edd /test
parent55fbe513ff4f9a113af3a08852364e65096bd307 (diff)
downloadyahns-fc10a4c09318a1402e5f9f1c770b1f772c12def0.tar.gz
Current (tested r60757) ruby trunk warns in a few more places than
2.4.x did, so clean them up.
Diffstat (limited to 'test')
-rw-r--r--test/test_mt_accept.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/test_mt_accept.rb b/test/test_mt_accept.rb
index aa2867f..321d46c 100644
--- a/test/test_mt_accept.rb
+++ b/test/test_mt_accept.rb
@@ -14,7 +14,6 @@ class TestMtAccept < Testcase
     skip "Linux kernel required" unless RUBY_PLATFORM =~ /linux/
     skip "/proc not mounted" unless File.directory?("/proc")
     err, cfg, host, port = @err, Yahns::Config.new, @srv.addr[3], @srv.addr[1]
-    opts = { threads: 1 }
     cfg.instance_eval do
       GTL.synchronize do
         app(:rack, Rack::Lobster.new) { listen "#{host}:#{port}", threads: 1 }
@@ -29,7 +28,6 @@ class TestMtAccept < Testcase
     quit_wait(pid)
 
     cfg = Yahns::Config.new
-    opts = { threads: 1 }
     cfg.instance_eval do
       GTL.synchronize do
         app(:rack, Rack::Lobster.new) { listen "#{host}:#{port}", threads: 2 }