aboutsummaryrefslogtreecommitdiffstats
path: root/test/rdoc/test_rdoc_text.rb
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-29 07:01:46 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-29 07:01:46 +0000
commit07b10cd59f372498e43d7bb10ce019e782c7a548 (patch)
treebe446ad18f2474e94b6ed82032a0f75ef3267c68 /test/rdoc/test_rdoc_text.rb
parenta985c5898cb2efd83e817dd476999f28af73f763 (diff)
downloadruby-07b10cd59f372498e43d7bb10ce019e782c7a548.tar.gz
* lib/rdoc/test_case.rb (RDoc::TestCase#verbose_capture_io):
defined for asserts of warnings. * test/rdoc: use verbose_capture_io on asserts of warnings. they failed when tests was run with RUBYOPT=-W0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rdoc/test_rdoc_text.rb')
-rw-r--r--test/rdoc/test_rdoc_text.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rdoc/test_rdoc_text.rb b/test/rdoc/test_rdoc_text.rb
index 47eb4de906..78d5fdec27 100644
--- a/test/rdoc/test_rdoc_text.rb
+++ b/test/rdoc/test_rdoc_text.rb
@@ -553,7 +553,7 @@ The comments associated with
end
def test_to_html_tt_tag_mismatch
- _, err = capture_io do
+ _, err = verbose_capture_io do
assert_equal '<tt>hi', to_html('<tt>hi')
end