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 | 5fc8102f02ecdb65d330223329277055b7ad863b (patch) | |
| tree | be7a891bbbca77cbb00eb2f8010e4cd619783776 /test/ruby | |
| parent | 999ef68b82c9c86db8c04af04cb440b808a46e9f (diff) | |
| download | ruby-5fc8102f02ecdb65d330223329277055b7ad863b.tar.gz ruby-5fc8102f02ecdb65d330223329277055b7ad863b.tar.xz ruby-5fc8102f02ecdb65d330223329277055b7ad863b.zip | |
* test/ruby/test_dir.rb: suppress warning during test.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
| -rw-r--r-- | test/ruby/test_dir.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/ruby/test_dir.rb b/test/ruby/test_dir.rb index 36d7407d9..0ea28f55d 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 |
