mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
21212fba19
commit
be903332c6
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue