summaryrefslogtreecommitdiff
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
commit0af4a490b48bb6fef8d4f392d0c0b215db8e06f9 (patch)
tree9074fe5a68300fcb5d0edf32b74b5a127055930e /test/rdoc
parentd80a9afb186028c13e5087b2e6d3a2a0ccfe98b8 (diff)
* test/rdoc/test_rdoc_c_parser.rb (teardown): close tempfile.
git-svn-id: svn+ssh://ci.ruby-lang.org/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 6cbb2c9..72d0903 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