summaryrefslogtreecommitdiff
path: root/test/rdoc/test_rdoc_ri_formatter.rb
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-24 23:05:28 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-24 23:05:28 +0000
commit7222e82a8b98afdc61b9cf6ad7419068429a42e9 (patch)
tree9601822113feef70fe4f6fc19b5453dd378dcd62 /test/rdoc/test_rdoc_ri_formatter.rb
parentda6300e8f888d0664347a5f2fb43dc749df7b5ad (diff)
Import RDoc 2.2.2 r192
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rdoc/test_rdoc_ri_formatter.rb')
-rw-r--r--test/rdoc/test_rdoc_ri_formatter.rb10
1 files changed, 6 insertions, 4 deletions
diff --git a/test/rdoc/test_rdoc_ri_formatter.rb b/test/rdoc/test_rdoc_ri_formatter.rb
index 539359033e7..a70f9dcba79 100644
--- a/test/rdoc/test_rdoc_ri_formatter.rb
+++ b/test/rdoc/test_rdoc_ri_formatter.rb
@@ -1,9 +1,10 @@
require 'stringio'
-require 'test/unit'
+require 'rubygems'
+require 'minitest/unit'
require 'rdoc/ri/formatter'
require 'rdoc/markup/to_flow'
-class TestRDocRIFormatter < Test::Unit::TestCase
+class TestRDocRIFormatter < MiniTest::Unit::TestCase
def setup
@output = StringIO.new
@@ -97,7 +98,7 @@ class TestRDocRIFormatter < Test::Unit::TestCase
end
def test_display_flow_item_unknown
- e = assert_raise RDoc::Error do
+ e = assert_raises RDoc::Error do
@f.display_flow_item Object.new
end
@@ -189,7 +190,7 @@ class TestRDocRIFormatter < Test::Unit::TestCase
list = RDoc::Markup::Flow::LIST.new :UNKNOWN
list << RDoc::Markup::Flow::LI.new(nil, 'a b c')
- e = assert_raise ArgumentError do
+ e = assert_raises ArgumentError do
@f.display_list list
end
@@ -316,3 +317,4 @@ class TestRDocRIFormatter < Test::Unit::TestCase
end
+MiniTest::Unit.autorun