diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-07-30 01:18:04 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-07-30 11:04:11 +0900 |
commit | af265d73fb2726fcd405d86d37d28bbf03de3b04 (patch) | |
tree | 62ce041f53907015ea81c2af99851f702b6bdd6b /test/rdoc | |
parent | 0e85586ecc983ebb4541cd046949428d1ef5d635 (diff) | |
download | ruby-af265d73fb2726fcd405d86d37d28bbf03de3b04.tar.gz |
[ruby/rdoc] Fix blockquote with word in verbatim
https://github.com/ruby/rdoc/commit/75eee668a5
Diffstat (limited to 'test/rdoc')
-rw-r--r-- | test/rdoc/test_rdoc_markup_to_html.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/rdoc/test_rdoc_markup_to_html.rb b/test/rdoc/test_rdoc_markup_to_html.rb index 3cf42d7c5e..a5927dccae 100644 --- a/test/rdoc/test_rdoc_markup_to_html.rb +++ b/test/rdoc/test_rdoc_markup_to_html.rb @@ -821,6 +821,15 @@ EXPECTED EXPECTED assert_equal expected, @m.convert(str, @to).gsub(/^\n/, "") + + str = "BlockQuote\n >>> word\n" + + expected = <<-EXPECTED +<p>BlockQuote</p> +<pre>>>> word</pre> + EXPECTED + + assert_equal expected, @m.convert(str, @to).gsub(/^\n/, "") end def test_parseable_eh |