X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/21f3578afc0a6943fe1747a9b9153510f26ceecd..02d53bbba3becb82a77688ac4f02064f5686aeef:/test/syntax.vader?ds=inline diff --git a/test/syntax.vader b/test/syntax.vader index b08a9a0..7096ad7 100644 --- a/test/syntax.vader +++ b/test/syntax.vader @@ -413,6 +413,15 @@ Execute (link text with newline): AssertEqual SyntaxOf('b'), 'mkdLink' AssertEqual SyntaxOf('c'), 'mkdURL' +Given markdown; +[a] b [c](d) + +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)