X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/3151e180766f83ae365a4ef5258dca1a3b675739..1121250a35f56f42ede4ce3547fe20afead86dd8:/test/syntax.vader?ds=sidebyside diff --git a/test/syntax.vader b/test/syntax.vader index 284e60f..0540155 100644 --- a/test/syntax.vader +++ b/test/syntax.vader @@ -416,12 +416,18 @@ Execute (link text with newline): Given markdown; [a] b [c](d) -Execute (link text with newline): +Execute (link text with bracket sections): AssertNotEqual SyntaxOf('a'), 'mkdLink' AssertNotEqual SyntaxOf('b'), 'mkdLink' AssertEqual SyntaxOf('c'), 'mkdLink' AssertEqual SyntaxOf('d'), 'mkdURL' +Given markdown; +[^a]: b + +Execute (footnote is not link): + AssertNotEqual SyntaxOf('a'), 'mkdLinkDef' + Given markdown; (a)