summaryrefslogtreecommitdiff
path: root/test/rdoc
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-08-08 00:32:37 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-08-08 01:12:49 +0900
commit5beb75ce8dac1964f88dc82f4216892bf4256aed (patch)
tree1a03b3df1e8d594fd416b07690b6c890d4c26fab /test/rdoc
parent23a84d53c682e8db1d9d5b9b33fc20dc475179c2 (diff)
[ruby/rdoc] Allow multiple footnotes without in-between blank lines
https://github.com/ruby/ruby/commit/e4e054e3ce40 used four footnotes without blank lines. And the ChangeLog generated from that commit resulted in ``undefined method `parts' for nil`` error. For now, let a footnote terminated by the next footnote mark. Also refined the error message when undefined footnote is used. https://github.com/ruby/rdoc/commit/a7f290130b
Diffstat (limited to 'test/rdoc')
-rw-r--r--test/rdoc/test_rdoc_markdown.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/rdoc/test_rdoc_markdown.rb b/test/rdoc/test_rdoc_markdown.rb
index c223c44c12..ca76c34f43 100644
--- a/test/rdoc/test_rdoc_markdown.rb
+++ b/test/rdoc/test_rdoc_markdown.rb
@@ -761,7 +761,6 @@ with inline notes^[like this]
and an extra note.[^2]
[^1]: With a footnote
-
[^2]: Which should be numbered correctly
MD