Prevent a "warning: assigned but unused variable - s2"
This commit is contained in:
parent
bd148a2bdd
commit
096ffebbbf
@ -540,7 +540,7 @@ class TestSocket_UNIXSocket < Test::Unit::TestCase
|
|||||||
ENV['TMP'] = File.join(Dir.tmpdir, "äöü€")
|
ENV['TMP'] = File.join(Dir.tmpdir, "äöü€")
|
||||||
FileUtils.mkdir_p ENV['TMP']
|
FileUtils.mkdir_p ENV['TMP']
|
||||||
|
|
||||||
s1, s2 = UNIXSocket.pair
|
s1, = UNIXSocket.pair
|
||||||
assert !s1.path.empty?
|
assert !s1.path.empty?
|
||||||
assert !File.exist?(s1.path)
|
assert !File.exist?(s1.path)
|
||||||
ensure
|
ensure
|
||||||
|
Loading…
x
Reference in New Issue
Block a user