diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-06 00:38:34 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-06 00:38:34 +0000 |
commit | be903332c68ce5b1d8a35cf41afa21196ae398ad (patch) | |
tree | 9940e167cbc3eb6cc7ab84e283beab04b681f97a /test/test_tempfile.rb | |
parent | 21212fba19032df8e7f00bb7f5d1ec171d4b7001 (diff) |
test_tempfile.rb: fix test on Windows
* test/test_tempfile.rb (test_tempfile_finalizer_does_not_run_if_unlinked):
open file cannot be deleted on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/test_tempfile.rb')
-rw-r--r-- | test/test_tempfile.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_tempfile.rb b/test/test_tempfile.rb index b3282538e4..177107469c 100644 --- a/test/test_tempfile.rb +++ b/test/test_tempfile.rb @@ -212,6 +212,7 @@ puts Tempfile.new('foo').path assert_in_out_err(args, <<-'EOS') do |(filename), (error)| tmp = Tempfile.new('foo') puts tmp.path + tmp.close tmp.unlink $DEBUG = true EOS |