summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-04-14 16:13:36 +0900
committergit <svn-admin@ruby-lang.org>2022-04-14 16:37:14 +0900
commit5397dd2e76952c5afc0d838f1d0bd53bcb0c5258 (patch)
treeb4c71523552c8dd44c1905f2495f10010bf4008c /test
parent1a2490b5640606a69e6abac5c50869b6095f0239 (diff)
[ruby/rdoc] Apply matching word pairs to underscore-methods
Protected characters with `PROTECT_ATTR` should not have special roles. https://github.com/ruby/rdoc/commit/c318af0ea2
Diffstat (limited to 'test')
-rw-r--r--test/rdoc/test_rdoc_markup_attribute_manager.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/rdoc/test_rdoc_markup_attribute_manager.rb b/test/rdoc/test_rdoc_markup_attribute_manager.rb
index 944364ba89..e8ff602f96 100644
--- a/test/rdoc/test_rdoc_markup_attribute_manager.rb
+++ b/test/rdoc/test_rdoc_markup_attribute_manager.rb
@@ -145,6 +145,8 @@ class TestRDocMarkupAttributeManager < RDoc::TestCase
assert_equal(["cat and ", @em_on, "5", @em_off, " dogs"],
@am.flow("cat and _5_ dogs"))
+
+ assert_equal([@tt_on, "__id__", @tt_off], @am.flow("+__id__+"))
end
def test_bold