From: Hiroshi Shirosaki Date: Thu, 9 Mar 2017 06:04:38 +0000 (+0900) Subject: Add a test for footnotes #314 X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/be5cbf1cb72716c5d9daaf19d07fd9ac4ffedfd1?ds=inline;hp=-c Add a test for footnotes #314 --- be5cbf1cb72716c5d9daaf19d07fd9ac4ffedfd1 diff --git a/test/syntax.vader b/test/syntax.vader index 7096ad7..0540155 100644 --- a/test/syntax.vader +++ b/test/syntax.vader @@ -422,6 +422,12 @@ Execute (link text with bracket sections): AssertEqual SyntaxOf('c'), 'mkdLink' AssertEqual SyntaxOf('d'), 'mkdURL' +Given markdown; +[^a]: b + +Execute (footnote is not link): + AssertNotEqual SyntaxOf('a'), 'mkdLinkDef' + Given markdown; (a)