Skip to content

Commit

Permalink
Prevent a warning: assigned but unused variable - status
Browse files Browse the repository at this point in the history
  • Loading branch information
mame committed Dec 12, 2023
1 parent 207dcf0 commit 73b43ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/socket/test_tcp.rb
Expand Up @@ -260,7 +260,7 @@ def test_ai_addrconfig
# 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

Expand Down

0 comments on commit 73b43ff

Please sign in to comment.