summaryrefslogtreecommitdiffstats
path: root/test/rdoc
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-17 14:46:15 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-17 14:46:15 +0000
commit7fe62665b40521438e9ea361b8b728ed4fa6c746 (patch)
tree9074fe5a68300fcb5d0edf32b74b5a127055930e /test/rdoc
parentc3d13dc5484c899148aeb8d58cbad27a004c4a98 (diff)
downloadruby-7fe62665b40521438e9ea361b8b728ed4fa6c746.tar.gz
ruby-7fe62665b40521438e9ea361b8b728ed4fa6c746.tar.xz
ruby-7fe62665b40521438e9ea361b8b728ed4fa6c746.zip
* test/rdoc/test_rdoc_c_parser.rb (teardown): close tempfile.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rdoc')
-rw-r--r--test/rdoc/test_rdoc_c_parser.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rdoc/test_rdoc_c_parser.rb b/test/rdoc/test_rdoc_c_parser.rb
index 6cbb2c92d..72d09038a 100644
--- a/test/rdoc/test_rdoc_c_parser.rb
+++ b/test/rdoc/test_rdoc_c_parser.rb
@@ -24,7 +24,7 @@ class TestRdocC_Parser < Test::Unit::TestCase
end
def teardown
- @tempfile.unlink
+ @tempfile.close
end
def test_do_classes_boot_class