diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-18 00:46:16 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-18 00:46:16 +0000 |
commit | 6db079b0e7bfb3014f32bfb4e9ca5ddeed5b3bcf (patch) | |
tree | 40585659bf4b9665ad0d258c415a6765a056d35d /test/rdoc/test_rdoc_markup_to_html_crossref.rb | |
parent | 7fe62665b40521438e9ea361b8b728ed4fa6c746 (diff) | |
download | ruby-6db079b0e7bfb3014f32bfb4e9ca5ddeed5b3bcf.tar.gz ruby-6db079b0e7bfb3014f32bfb4e9ca5ddeed5b3bcf.tar.xz ruby-6db079b0e7bfb3014f32bfb4e9ca5ddeed5b3bcf.zip |
Import RDoc r101.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rdoc/test_rdoc_markup_to_html_crossref.rb')
-rw-r--r-- | test/rdoc/test_rdoc_markup_to_html_crossref.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/rdoc/test_rdoc_markup_to_html_crossref.rb b/test/rdoc/test_rdoc_markup_to_html_crossref.rb new file mode 100644 index 000000000..ab4c3e7e9 --- /dev/null +++ b/test/rdoc/test_rdoc_markup_to_html_crossref.rb @@ -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 + |