mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Failed to unlink before close on mswin
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
304b544651
commit
f2dec4ab96
1 changed files with 1 additions and 1 deletions
|
@ -401,8 +401,8 @@ puts Tempfile.new('foo').path
|
||||||
assert_equal expect, actual
|
assert_equal expect, actual
|
||||||
ensure
|
ensure
|
||||||
if t
|
if t
|
||||||
File.unlink(t.path)
|
|
||||||
t.close
|
t.close
|
||||||
|
File.unlink(t.path)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue