From 0af4a490b48bb6fef8d4f392d0c0b215db8e06f9 Mon Sep 17 00:00:00 2001 From: mame Date: Thu, 17 Jul 2008 14:46:15 +0000 Subject: [PATCH] * 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 --- ChangeLog | 4 ++++ test/rdoc/test_rdoc_c_parser.rb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 7ff54e2e39..854bd77ff9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Thu Jul 17 23:45:55 2008 Yusuke Endoh + + * test/rdoc/test_rdoc_c_parser.rb (teardown): close tempfile. + Thu Jul 17 21:08:49 2008 Yusuke Endoh * test/ruby/test_process.rb (test_getpriority, test_setpriority): use diff --git a/test/rdoc/test_rdoc_c_parser.rb b/test/rdoc/test_rdoc_c_parser.rb index 6cbb2c92dc..72d09038a4 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