summaryrefslogtreecommitdiff
path: root/test/document_test.rb
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2019-03-01 13:30:57 -0700
committerGitHub <noreply@github.com>2019-03-01 13:30:57 -0700
commit85643076e3ef050e0789fa306c83f69553aa5bfa (patch)
treef2f3cb115fccb51fff9587f43bff24c2bf72e166 /test/document_test.rb
parentd6d9bb5552b9a568374ee0e4db268b2e20f3ba36 (diff)
resolves #3114 log warning if footnoteref macro is found and compat mode is not enabled (PR #3115)
Diffstat (limited to 'test/document_test.rb')
-rw-r--r--test/document_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/document_test.rb b/test/document_test.rb
index 8c55a4db..68baa95f 100644
--- a/test/document_test.rb
+++ b/test/document_test.rb
@@ -1104,8 +1104,8 @@ context 'Document' do
test 'outputs footnotes in footer' do
input = <<~'EOS'
A footnote footnote:[An example footnote.];
- a second footnote with a reference ID footnoteref:[note2,Second footnote.];
- finally a reference to the second footnote footnoteref:[note2].
+ a second footnote with a reference ID footnote:note2[Second footnote.];
+ and finally a reference to the second footnote footnote:note2[].
EOS
output = convert_string input