aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ext_depends/D-YAML/test/spec 1.1/spec-08-08.yaml
blob: 31bdc3b883463f5b365a2775a7be08e97f13f6a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
%YAML 1.1
---
- name: spec-08-08
  yaml: |
    ---
    foo:
     "bar
     baz"
    ---
    "foo
     bar"
    ---
    foo
     bar
    --- |
     foo
    ...
  tree: |
    +STR
      +DOC ---
        +MAP
          =VAL :foo
          =VAL "bar baz
        -MAP
      -DOC
      +DOC ---
        =VAL "foo bar
      -DOC
      +DOC ---
        =VAL :foo bar
      -DOC
      +DOC ---
        =VAL |foo\n
      -DOC ...
    -STR
- name: spec-08-08-canonical
  yaml: |
    %YAML 1.1
    ---
    !!map {
      ? !!str "foo"
      : !!str "bar baz"
    }
    ---
    !!str "foo bar"
    ---
    !!str "foo bar"
    ---
    !!str "foo\n"
  tree: |
    +STR
      +DOC ---
        +MAP {} <tag:yaml.org,2002:map>
          =VAL <tag:yaml.org,2002:str> "foo
          =VAL <tag:yaml.org,2002:str> "bar baz
        -MAP
      -DOC
      +DOC ---
        =VAL <tag:yaml.org,2002:str> "foo bar
      -DOC
      +DOC ---
        =VAL <tag:yaml.org,2002:str> "foo bar
      -DOC
      +DOC ---
        =VAL <tag:yaml.org,2002:str> "foo\n
      -DOC
    -STR