diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2023-12-12 10:31:14 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2023-12-12 10:31:37 +0900 |
commit | 73b43fffa163e11ce9e7e8880631acb870ac1695 (patch) | |
tree | 64778309e647ac23658ca0929c86fe778c88a33f /test | |
parent | 207dcf07e1e1359ca87590c8c22867024f20ae03 (diff) | |
download | ruby-73b43fffa163e11ce9e7e8880631acb870ac1695.tar.gz |
Prevent a warning: assigned but unused variable - status
Diffstat (limited to 'test')
-rw-r--r-- | test/socket/test_tcp.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/socket/test_tcp.rb b/test/socket/test_tcp.rb index 0f060a7e0a..35d361f060 100644 --- a/test/socket/test_tcp.rb +++ b/test/socket/test_tcp.rb @@ -260,7 +260,7 @@ class TestSocket_TCPSocket < Test::Unit::TestCase # Make a request which will hit our fake DNS swerver - this needs to be in _another_ # process because glibc will cache resolver info across the fork otherwise. load_path_args = $LOAD_PATH.flat_map { ['-I', _1] } - _, _, status = Open3.capture3('/proc/self/exe', *load_path_args, '-rsocket', '-e', <<~RUBY) + Open3.capture3('/proc/self/exe', *load_path_args, '-rsocket', '-e', <<~RUBY) TCPSocket.open('www.example.com', 4444) RUBY |