Add missing #close
call to test_dup_timeout
test. (#6560)
This commit is contained in:
parent
8a420670a2
commit
52fcb3a724
Notes:
git
2022-10-15 16:05:21 +09:00
Merged-By: ioquatix <samuel@codeotaku.com>
@ -1446,6 +1446,8 @@ class TestIO < Test::Unit::TestCase
|
||||
r.timeout = 0.1
|
||||
r2 = r.dup
|
||||
assert_equal(0.1, r2.timeout)
|
||||
ensure
|
||||
r2&.close
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user