aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ext_depends/D-YAML/test/spec 1.1/spec-08-03.yaml
blob: 6f715bfc51dbcdbf06cf98d3fc3dfc96d065d49c (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
%YAML 1.1
---
- name: spec-08-03
  yaml: |
    !<tag:yaml.org,2002:str> foo :
      !<!bar> baz
  tree: |
    +STR
      +DOC
        +MAP
          =VAL <tag:yaml.org,2002:str> :foo
          =VAL <!bar> :baz
        -MAP
      -DOC
    -STR
- name: spec-08-03-canonical
  yaml: |
    %YAML 1.1
    ---
    !!map {
      ? !<tag:yaml.org,2002:str> "foo"
      : !<!bar> "baz"
    }
  tree: |
    +STR
      +DOC ---
        +MAP {} <tag:yaml.org,2002:map>
          =VAL <tag:yaml.org,2002:str> "foo
          =VAL <!bar> "baz
        -MAP
      -DOC
    -STR