summaryrefslogtreecommitdiffstats
path: root/lib/rdoc/markup/test
diff options
context:
space:
mode:
authordave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-04-09 15:01:53 +0000
committerdave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-04-09 15:01:53 +0000
commit92edd39e24a690f2d140c3f921573c663f33eb8a (patch)
tree80fd919bcf08cbf61d807daeb6ecc2892df60005 /lib/rdoc/markup/test
parent72d9aee28bb76c42b79fb33e27d59e3d49bd9b41 (diff)
downloadruby-92edd39e24a690f2d140c3f921573c663f33eb8a.tar.gz
ruby-92edd39e24a690f2d140c3f921573c663f33eb8a.tar.xz
ruby-92edd39e24a690f2d140c3f921573c663f33eb8a.zip
Fixed problem with \_cat_<b>dog</b>
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/markup/test')
-rw-r--r--lib/rdoc/markup/test/TestInline.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/rdoc/markup/test/TestInline.rb b/lib/rdoc/markup/test/TestInline.rb
index c76f21dce..a067d4c24 100644
--- a/lib/rdoc/markup/test/TestInline.rb
+++ b/lib/rdoc/markup/test/TestInline.rb
@@ -141,6 +141,9 @@ class TestInline < Test::Unit::TestCase
@am.flow("cat <i>and</i> \\<B>dog</b>"))
assert_equal(["*word* or <b>text</b>"], @am.flow("\\*word* or \\<b>text</b>"))
+
+ assert_equal(["_cat_", @em_on, "dog", @em_off],
+ @am.flow("\\_cat_<i>dog</i>"))
end
def test_adding