[前][次][番号順一覧][スレッド一覧]

ruby-changes:6645

From: mame <ko1@a...>
Date: Tue, 22 Jul 2008 20:34:40 +0900 (JST)
Subject: [ruby-changes:6645] Ruby:r18161 (trunk): * test/rdoc/test_rdoc_parser_ruby.rb (teardown): close tempfile.

mame	2008-07-22 20:34:23 +0900 (Tue, 22 Jul 2008)

  New Revision: 18161

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=18161

  Log:
    * test/rdoc/test_rdoc_parser_ruby.rb (teardown): close tempfile.

  Modified files:
    trunk/ChangeLog
    trunk/test/rdoc/test_rdoc_parser_ruby.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 18160)
+++ ChangeLog	(revision 18161)
@@ -1,3 +1,7 @@
+Tue Jul 22 20:33:54 2008  Yusuke Endoh  <mame@t...>
+
+	* test/rdoc/test_rdoc_parser_ruby.rb (teardown): close tempfile.
+
 Tue Jul 22 19:38:38 2008  Martin Duerst  <duerst@i...>
 
 	* test/ruby/test_transcode.rb: added two comments
Index: test/rdoc/test_rdoc_parser_ruby.rb
===================================================================
--- test/rdoc/test_rdoc_parser_ruby.rb	(revision 18160)
+++ test/rdoc/test_rdoc_parser_ruby.rb	(revision 18161)
@@ -19,7 +19,7 @@
   end
 
   def teardown
-    @tempfile.unlink
+    @tempfile.close
   end
 
   def test_look_for_directives_in_commented

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]