[rubygems/rubygems] Ensure that TempIO
is closed
https://github.com/rubygems/rubygems/commit/0cbb7b5370
This commit is contained in:
parent
e37bf46ed5
commit
0a02c51a06
@ -159,6 +159,7 @@ group\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000
|
||||
assert_raise ArgumentError do
|
||||
Gem::Package::TarHeader.from io
|
||||
end
|
||||
ensure
|
||||
io.close!
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user