mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Import RDoc 2.2.2 r192
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
da6300e8f8
commit
7222e82a8b
22 changed files with 115 additions and 54 deletions
|
@ -1,8 +1,9 @@
|
|||
require "test/unit"
|
||||
require "rubygems"
|
||||
require "minitest/unit"
|
||||
require "rdoc/markup/inline"
|
||||
require "rdoc/markup/to_html_crossref"
|
||||
|
||||
class TestRDocMarkupAttributeManager < Test::Unit::TestCase
|
||||
class TestRDocMarkupAttributeManager < MiniTest::Unit::TestCase
|
||||
|
||||
def setup
|
||||
@orig_special = RDoc::Markup::AttributeManager::SPECIAL
|
||||
|
@ -60,7 +61,7 @@ class TestRDocMarkupAttributeManager < Test::Unit::TestCase
|
|||
end
|
||||
|
||||
def test_add_word_pair_angle
|
||||
e = assert_raise ArgumentError do
|
||||
e = assert_raises ArgumentError do
|
||||
@am.add_word_pair '<', '>', 'angles'
|
||||
end
|
||||
|
||||
|
@ -229,3 +230,5 @@ class TestRDocMarkupAttributeManager < Test::Unit::TestCase
|
|||
end
|
||||
|
||||
end
|
||||
|
||||
MiniTest::Unit.autorun
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue