ruby-changes:24395
From: akr <ko1@a...>
Date: Wed, 18 Jul 2012 22:43:35 +0900 (JST)
Subject: [ruby-changes:24395] akr:r36446 (trunk): * test/ruby/test_autoload.rb: remove temporally files early.
akr 2012-07-18 22:43:22 +0900 (Wed, 18 Jul 2012) New Revision: 36446 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36446 Log: * test/ruby/test_autoload.rb: remove temporally files early. Modified files: trunk/ChangeLog trunk/test/ruby/test_autoload.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 36445) +++ ChangeLog (revision 36446) @@ -1,3 +1,7 @@ +Wed Jul 18 22:43:02 2012 Tanaka Akira <akr@f...> + + * test/ruby/test_autoload.rb: remove temporally files early. + Wed Jul 18 21:59:46 2012 Tanaka Akira <akr@f...> * test/ruby/test_argf.rb: use temporally directory. Index: test/ruby/test_autoload.rb =================================================================== --- test/ruby/test_autoload.rb (revision 36445) +++ test/ruby/test_autoload.rb (revision 36446) @@ -69,6 +69,8 @@ ensure remove_autoload_constant end + ensure + file.unlink end def test_threaded_accessing_constant @@ -85,6 +87,8 @@ ensure remove_autoload_constant end + ensure + file.unlink end def test_threaded_accessing_inner_constant @@ -101,6 +105,8 @@ ensure remove_autoload_constant end + ensure + file.unlink end def test_nameerror_when_autoload_did_not_define_the_constant @@ -115,6 +121,8 @@ ensure remove_autoload_constant end + ensure + file.unlink end def test_override_autoload @@ -128,6 +136,8 @@ ensure remove_autoload_constant end + ensure + file.unlink end def test_override_while_autoloading @@ -148,6 +158,8 @@ ensure remove_autoload_constant end + ensure + file.unlink end def add_autoload(path) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/