master
yaml 59 lines 1.12 KB
Raw
1 # Test YAML constructs that might behave differently between parsers
2 pattern: "(?P<message>.*)"
3
4 inject:
5 # Test multiline string styles that might differ
6 - key: LITERAL_MULTILINE
7 value: |
8 Line one
9 Line two with spaces
10 Line three
11
12 - key: FOLDED_MULTILINE
13 value: >
14 This is a folded style
15 that should become
16 a single line.
17
18 - key: SINGLE_QUOTE_MULTILINE
19 value: 'Single quoted
20 with newline'
21
22 - key: DOUBLE_QUOTE_ESCAPES
23 value: "Contains \"quotes\" and \\backslashes\\ and \n newlines"
24
25 # Test empty values in different ways
26 - key: EMPTY_STRING
27 value: ""
28
29 - key: NULL_VALUE
30 value: null
31
32 - key: TILDE_NULL
33 value: ~
34
35 # Test boolean representations
36 - key: BOOL_TRUE
37 value: true
38
39 - key: BOOL_YES
40 value: yes
41
42 - key: BOOL_ON
43 value: on
44
45 # Test numeric representations
46 - key: DECIMAL_NUMBER
47 value: 123.456
48
49 - key: SCIENTIFIC_NOTATION
50 value: 1.23e4
51
52 - key: HEX_NUMBER
53 value: 0xFF
54
55 - key: OCTAL_NUMBER
56 value: 0o755
57
58 - key: BINARY_NUMBER
59 value: 0b1010