aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_tempfile.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_tempfile.rb')
-rw-r--r--test/test_tempfile.rb1
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