diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-23 12:36:24 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-23 12:36:24 +0000 |
commit | ec6c4abdba820541180b7d297dc40ee011a2dc8a (patch) | |
tree | be7a891bbbca77cbb00eb2f8010e4cd619783776 | |
parent | ed9a65c4f609afcabf0a2d7254453592ba0cf243 (diff) | |
download | ruby-ec6c4abdba820541180b7d297dc40ee011a2dc8a.tar.gz |
* test/ruby/test_dir.rb: suppress warning during test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | test/ruby/test_dir.rb | 3 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,7 @@ +Wed Jul 23 21:35:53 2008 Yusuke Endoh <mame@tsg.ne.jp> + + * test/ruby/test_dir.rb: suppress warning during test. + Wed Jul 23 18:27:46 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> * ext/tk/{stubs,tcltklib}.c, ext/tk/tkutil/tkutil.c: fix warnings diff --git a/test/ruby/test_dir.rb b/test/ruby/test_dir.rb index 36d7407d92..0ea28f55d8 100644 --- a/test/ruby/test_dir.rb +++ b/test/ruby/test_dir.rb @@ -7,6 +7,8 @@ require 'pathname' class TestDir < Test::Unit::TestCase def setup + @verbose = $VERBOSE + $VERBOSE = nil @root = Pathname.new(Dir.mktmpdir('__test_dir__')).realpath.to_s @nodir = File.join(@root, "dummy") for i in ?a..?z @@ -19,6 +21,7 @@ class TestDir < Test::Unit::TestCase end def teardown + $VERBOSE = @verbose FileUtils.remove_entry_secure @root if File.directory?(@root) end |