From f2dec4ab9615807b7eaee25e5be24b271e2283b3 Mon Sep 17 00:00:00 2001 From: kazu Date: Wed, 11 Jul 2018 13:00:56 +0000 Subject: [PATCH] Failed to unlink before close on mswin git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/test_tempfile.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_tempfile.rb b/test/test_tempfile.rb index 4b31e7f158..27263fca80 100644 --- a/test/test_tempfile.rb +++ b/test/test_tempfile.rb @@ -401,8 +401,8 @@ puts Tempfile.new('foo').path assert_equal expect, actual ensure if t - File.unlink(t.path) t.close + File.unlink(t.path) end end end