X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/69c9e5001983d808be2259cd493b99d51ad5d7d3..b4be7adc44df6f0c7e0f73eb84933e3259dbff90:/test/syntax.vader?ds=inline diff --git a/test/syntax.vader b/test/syntax.vader index 7d6f6b1..6f0a694 100644 --- a/test/syntax.vader +++ b/test/syntax.vader @@ -55,6 +55,15 @@ Execute (italic with escaped underscores): AssertEqual SyntaxOf('c'), 'htmlItalic' AssertNotEqual SyntaxOf('d'), 'htmlItalic' +Given markdown; +a *b\*c* d + +Execute (italic with escaped asterisks): + AssertNotEqual SyntaxOf('a'), 'htmlItalic' + AssertEqual SyntaxOf('b'), 'htmlItalic' + AssertEqual SyntaxOf('c'), 'htmlItalic' + AssertNotEqual SyntaxOf('d'), 'htmlItalic' + Given markdown; a __b\_\_c__ d @@ -107,12 +116,6 @@ Given markdown; Execute (autolink with scheme case is insensitive): AssertEqual SyntaxOf('a'), 'mkdInlineURL' -Given markdown; - - -Execute (autolink without known scheme is not a link): - AssertNotEqual SyntaxOf('n'), 'mkdInlineURL' - Given markdown;