Debian Codegraph @

cpan/CPAN-Meta-YAML/t/tml-local/load-error/scalar.tml

raw
1 === multiline quote
2 --- yaml
3 - 'Multiline
4 quote'
5 --- error: E_FEATURE
6
7 === dash dash 2
8 --- yaml
9 - - 2
10 --- error: E_PLAIN
11
12 === dash
13 --- yaml
14 foo: -
15 --- error: E_PLAIN
16
17 === leading ampersand
18 --- yaml
19 foo: @INC
20 --- error: E_PLAIN
21
22 === leading percent
23 --- yaml
24 foo: %INC
25 --- error: E_PLAIN
26
27 === trailing colon
28 --- yaml
29 foo: bar:
30 --- error: E_PLAIN
31
32 === key key value
33 --- yaml
34 foo: bar: baz
35 --- error: E_PLAIN
36
37 === backticks
38 --- yaml
39 foo: `perl -V`
40 --- error: E_PLAIN
41
42 === double-dash
43 --- yaml
44 --
45 --- error: E_PLAIN
46
47 === multi-line scalar document starting on header
48 --- yaml
49 \--- foo
50 bar
51 --- error: E_CLASSIFY