mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Import RDoc r101.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0af4a490b4
commit
fd25f74d64
45 changed files with 6952 additions and 4397 deletions
18
test/rdoc/test_rdoc_markup_to_html_crossref.rb
Normal file
18
test/rdoc/test_rdoc_markup_to_html_crossref.rb
Normal file
|
@ -0,0 +1,18 @@
|
|||
require 'test/unit'
|
||||
require 'rdoc/generator'
|
||||
require 'rdoc/markup/to_html_crossref'
|
||||
|
||||
class TestRdocMarkupToHtmlCrossref < Test::Unit::TestCase
|
||||
|
||||
def setup
|
||||
@xref = RDoc::Markup::ToHtmlCrossref.new 'from_path', nil, nil
|
||||
end
|
||||
|
||||
def test_handle_special_CROSSREF_no_underscore
|
||||
out = @xref.convert 'foo'
|
||||
|
||||
assert_equal "<p>\nfoo\n</p>\n", out
|
||||
end
|
||||
|
||||
end
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue