X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/be5cbf1cb72716c5d9daaf19d07fd9ac4ffedfd1..35b4fdadc4ac4c78b0d8fb3c604e3e25ed59b157:/test/syntax.vader?ds=sidebyside diff --git a/test/syntax.vader b/test/syntax.vader index 0540155..0adae58 100644 --- a/test/syntax.vader +++ b/test/syntax.vader @@ -629,6 +629,14 @@ Execute (link in blockquote): AssertEqual SyntaxOf('a'), 'mkdLink' AssertEqual SyntaxOf('foo'), 'mkdInlineURL' +Given markdown; +[https://domain.tld](https://domain.com) not_a_link + +Execute (link with url title): + AssertEqual SyntaxOf('https://domain.tld'), 'mkdInlineURL' + AssertEqual SyntaxOf('https://domain.com'), 'mkdInlineURL' + AssertNotEqual SyntaxOf('not_a_link'), 'mkdInlineURL' + # Code Blocks Given markdown;