summaryrefslogtreecommitdiff
path: root/test/rdoc/test_rdoc_ri_formatter.rb
diff options
context:
space:
mode:
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 539359033e..a70f9dcba7 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