Debian Codegraph @

tests/languages/asciidoc/list-punctuation_feature.test

raw
1 - Foo
2 * Foo
3 ** Foo bar
4 *** Foo
5 1. Foo
6 2. Foo bar
7 42. Foo
8 **** Foo
9 ***** Foo bar
10
11 . Foo
12 .. Foo
13 a. Foo
14 b. Foo
15 z. Foo
16 ... Foo bar
17 .... Foo
18 i) Foo
19 vi) Bar
20 xxvii) Baz
21 ..... Foo
22
23 ____
24 . 1
25 .. 2
26 ____
27
28 |===
29 |
30 xi) a
31 xii) b
32 |===
33
34 ----------------------------------------------------
35
36 [
37 ["list-punctuation", "-"], " Foo\r\n",
38 ["list-punctuation", "*"], " Foo\r\n",
39 ["list-punctuation", "**"], " Foo bar\r\n",
40 ["list-punctuation", "***"], " Foo\r\n\t",
41 ["list-punctuation", "1."], " Foo\r\n\t",
42 ["list-punctuation", "2."], " Foo bar\r\n\t",
43 ["list-punctuation", "42."], " Foo\r\n",
44 ["list-punctuation", "****"], " Foo\r\n",
45 ["list-punctuation", "*****"], " Foo bar\r\n\r\n",
46
47 ["list-punctuation", "."], " Foo\r\n",
48 ["list-punctuation", ".."], " Foo\r\n ",
49 ["list-punctuation", "a."], " Foo\r\n ",
50 ["list-punctuation", "b."], " Foo\r\n ",
51 ["list-punctuation", "z."], " Foo\r\n",
52 ["list-punctuation", "..."], " Foo bar\r\n",
53 ["list-punctuation", "...."], " Foo\r\n\t",
54 ["list-punctuation", "i)"], " Foo\r\n\t",
55 ["list-punctuation", "vi)"], " Bar\r\n\t",
56 ["list-punctuation", "xxvii)"], " Baz\r\n",
57 ["list-punctuation", "....."], " Foo\r\n\r\n",
58
59 ["other-block", [
60 ["punctuation", "____"],
61 ["list-punctuation", "."], " 1\r\n",
62 ["list-punctuation", ".."], " 2\r\n",
63 ["punctuation", "____"]
64 ]],
65
66 ["table", [
67 ["punctuation", "|==="],
68 ["punctuation", "|"],
69 ["list-punctuation", "xi)"], " a\r\n",
70 ["list-punctuation", "xii)"], " b\r\n",
71 ["punctuation", "|==="]
72 ]]
73 ]
74
75 ----------------------------------------------------
76
77 Checks for list punctuation.