]> git.madduck.net Git - etc/vim.git/blob - test/syntax.vader

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

26f1990fde8e759c8efc7c80cace5a9f87cc16d7
[etc/vim.git] / test / syntax.vader
1 Given mkd (bold);
2 **bold** not bold
3
4 Execute (SyntaxOf(pattern)):
5   AssertEqual SyntaxOf('b'), 'htmlBold'
6
7 Given mkd (italic);
8 *italic*
9
10 Execute (SyntaxOf(pattern)):
11   AssertEqual SyntaxOf('i'), 'htmlItalic'
12
13 Given mkd;
14 [a](b)
15
16 Execute (link with title):
17   AssertEqual SyntaxOf('a'), 'mkdLink'
18   AssertEqual SyntaxOf('b'), 'mkdURL'
19
20 Given mkd;
21 (a)
22
23 Execute (parenthesis not in link):
24   AssertNotEqual SyntaxOf('a'), 'mkdLink'
25
26 Given mkd;
27 [a](b) c [d](e)
28
29 Execute (multiple links on a line):
30   AssertEqual SyntaxOf('c'), ''