Debian Codegraph @

tests/yaml/squash_space.yaml

raw symbols SCIP
1 # Converted from squash_space.c
2 # Note: Long strings consisting of spaces cannot be folded in yaml.
3
4 table: |
5 space \t 9
6 space \n 24578
7 space \x00a0 a
8 include tables/spaces.uti
9 repeated \s 0
10
11 tests:
12 - # one space
13 - " "
14 - " "
15 - # the usual case
16 - " "
17 - " "
18 - # a very long string
19 - " "
20 - " "
21 - # an even longer string
22 - " "
23 - " "
24 # strings containing tabs
25 - - " \t"
26 - " \t"
27 - - " \t "
28 - " \t "
29 - - "\t "
30 - "\t "
31 # Strings containing newlines
32 - - " \n"
33 - " \n"
34 - - " \n "
35 - " \n "
36 - - "\n "
37 - "\n "
38
39 table: |
40 space \t 9
41 space \x00a0 a
42 include tables/spaces.uti
43 noback context [$s]$s ?
44 noback context [$s] @0
45
46 # A number of strings that we want to squash, i.e. they should all
47 # result in an output of one space */
48 tests:
49 - # a simple space
50 - " "
51 - " "
52 - # a long string
53 - " "
54 - " "
55 - # a very long string
56 - " "
57 - " "
58 - # an even longer string
59 - " "
60 - " "
61 # a couple of strings containing tabs
62 - - " \t"
63 - " "
64 - - " \t "
65 - " "
66 - - "\t "
67 - " "
68 # Strings containing newlines
69 - - " \n"
70 - " "
71 - - " \n "
72 - " "
73 - - "\n "
74 - " "
75 # All mixed
76 - - " \n \t \n \t\t \n\n\n\t\t "
77 - " "