X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/fdf78014dbb9f1c701e538a0ea29f9c536c91448..b8f5e31cc406a811b24d9d45db5ebf220ab4735b:/test/syntax.vader?ds=inline diff --git a/test/syntax.vader b/test/syntax.vader index 8b9b21a..1cda007 100644 --- a/test/syntax.vader +++ b/test/syntax.vader @@ -137,6 +137,24 @@ Given markdown; Execute (autolinks can be backslash escaped): AssertNotEqual SyntaxOf('<'), 'mkdDelimiter' +Given markdown; +a (http://b) c + +Execute (autolink in parenthesis): + AssertNotEqual SyntaxOf('a'), 'mkdInlineURL' + AssertEqual SyntaxOf('('), 'mkdDelimiter' + AssertEqual SyntaxOf('b'), 'mkdInlineURL' + AssertEqual SyntaxOf(')'), 'mkdDelimiter' + AssertNotEqual SyntaxOf('c'), 'mkdInlineURL' + +Given markdown; +[![a](http://b)](http://c) + +Execute (autolink in link text): + AssertEqual SyntaxOf('a'), 'mkdLink' + AssertEqual SyntaxOf('b'), 'mkdURL' + AssertEqual SyntaxOf('c'), 'mkdURL' + # Code Blocks Given markdown;