ruby-changes:51741
From: kazu <ko1@a...>
Date: Wed, 11 Jul 2018 22:01:01 +0900 (JST)
Subject: [ruby-changes:51741] kazu:r63953 (trunk): Failed to unlink before close on mswin
kazu 2018-07-11 22:00:56 +0900 (Wed, 11 Jul 2018) New Revision: 63953 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63953 Log: Failed to unlink before close on mswin Modified files: trunk/test/test_tempfile.rb Index: test/test_tempfile.rb =================================================================== --- test/test_tempfile.rb (revision 63952) +++ test/test_tempfile.rb (revision 63953) @@ -401,8 +401,8 @@ puts Tempfile.new('foo').path https://github.com/ruby/ruby/blob/trunk/test/test_tempfile.rb#L401 assert_equal expect, actual ensure if t - File.unlink(t.path) t.close + File.unlink(t.path) end end end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/