diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-29 06:19:05 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-29 06:19:05 +0000 |
commit | d81b5a4ffb9f549cfefdc41581fe9fa7dbb91130 (patch) | |
tree | 7362ea7b824558d31fc60d4ae8602533c704e0f5 /test | |
parent | 479e39619240d7723f0573add301d71125df6933 (diff) | |
download | ruby-d81b5a4ffb9f549cfefdc41581fe9fa7dbb91130.tar.gz |
* test/minitest/test_minitest_unit.rb: restore orig_verbose only
if it is set. This broke rdoc's tests.
http://u64.rubyci.org/~chkbuild/ruby-trunk/log/20121129T050102Z.diff.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/minitest/test_minitest_unit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/minitest/test_minitest_unit.rb b/test/minitest/test_minitest_unit.rb index 45bd96fcd4..a03296d7b6 100644 --- a/test/minitest/test_minitest_unit.rb +++ b/test/minitest/test_minitest_unit.rb @@ -1343,7 +1343,7 @@ class TestMiniTestUnitTestCase < MiniTest::Unit::TestCase assert_equal "hi\n", out assert_equal "bye!\n", err ensure - $VERBOSE = orig_verbose + $VERBOSE = orig_verbose unless orig_verbose.nil? end def test_class_asserts_match_refutes |