1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/rdoc/test_rdoc_markup_to_html_crossref.rb

19 lines
363 B
Ruby
Raw Normal View History

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