summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-25 14:32:03 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-25 14:32:03 +0000
commit8735e21fbbf609ea5c613f5ba828b1d6191c1c9b (patch)
treec4406a7a42d9c7070b954ee8a04746be25c918cf /test/ruby
parent8559c4c125c6b01549cff9f7ba1eaed9aebf48b2 (diff)
Remove tempfiles.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_file.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/test_file.rb b/test/ruby/test_file.rb
index d0f11882e5..537deefed3 100644
--- a/test/ruby/test_file.rb
+++ b/test/ruby/test_file.rb
@@ -336,6 +336,8 @@ class TestFile < Test::Unit::TestCase
end
assert_in_delta t0+6, stat.atime.to_f, delta
rescue NotImplementedError
+ ensure
+ file.close!
end
def test_chmod_m17n