From: Hiroshi Shirosaki Date: Thu, 9 Mar 2017 05:12:11 +0000 (+0900) Subject: Add a test for mkdLink #319 X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/3151e180766f83ae365a4ef5258dca1a3b675739?ds=inline;hp=--cc Add a test for mkdLink #319 --- 3151e180766f83ae365a4ef5258dca1a3b675739 diff --git a/test/syntax.vader b/test/syntax.vader index b08a9a0..284e60f 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 newline): + AssertNotEqual SyntaxOf('a'), 'mkdLink' + AssertNotEqual SyntaxOf('b'), 'mkdLink' + AssertEqual SyntaxOf('c'), 'mkdLink' + AssertEqual SyntaxOf('d'), 'mkdURL' + Given markdown; (a)