From: Hiroshi Shirosaki Date: Thu, 21 Dec 2017 12:55:04 +0000 (+0900) Subject: Add a test for link title highlighting #343 X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/f416b35dba4505f85dca9cafb984ab7d89e57f96?ds=sidebyside;hp=70bc31521378e9fbf5cfaf327dfe43ecfbbaee8f Add a test for link title highlighting #343 --- 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;