From 54aa11efa8b1be2c5d20402890d6d2fa90aa19a8 Mon Sep 17 00:00:00 2001 From: aycabta Date: Sun, 14 Mar 2021 18:26:19 +0900 Subject: [ruby/rdoc] Disable other notations in tags https://github.com/ruby/rdoc/commit/0cd3b55210 --- test/rdoc/test_rdoc_markup_to_html.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/rdoc/test_rdoc_markup_to_html.rb') diff --git a/test/rdoc/test_rdoc_markup_to_html.rb b/test/rdoc/test_rdoc_markup_to_html.rb index fb94269064..6ec52989c7 100644 --- a/test/rdoc/test_rdoc_markup_to_html.rb +++ b/test/rdoc/test_rdoc_markup_to_html.rb @@ -704,6 +704,12 @@ EXPECTED assert_equal "\n

ruby-lang

\n", result end + def test_convert_with_exclude_tag + assert_equal "\n

aaa[:symbol]

\n", @to.convert('+aaa+[:symbol]') + assert_equal "\n

aaa[:symbol]

\n", @to.convert('+aaa[:symbol]+') + assert_equal "\n

aaa

\n", @to.convert('aaa[:symbol]') + end + def test_gen_url assert_equal 'example', @to.gen_url('link:example', 'example') -- cgit v1.2.3