aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ext_depends/D-YAML/test/spec 1.1/spec-05-08.yaml
blob: 716641c511dee042247c4432a25925906a1e9128 (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
%YAML 1.1
---
- name: spec-05-08
  yaml: |
    single: 'text'
    double: "text"
  tree: |
    +STR
      +DOC
        +MAP
          =VAL :single
          =VAL 'text
          =VAL :double
          =VAL "text
        -MAP
      -DOC
    -STR
- name: spec-05-08-canonical
  yaml: |
    %YAML 1.1
    ---
    !!map {
      ? !!str "single"
      : !!str "text",
      ? !!str "double"
      : !!str "text",
    }
  tree: |
    +STR
      +DOC ---
        +MAP {} <tag:yaml.org,2002:map>
          =VAL <tag:yaml.org,2002:str> "single
          =VAL <tag:yaml.org,2002:str> "text
          =VAL <tag:yaml.org,2002:str> "double
          =VAL <tag:yaml.org,2002:str> "text
        -MAP
      -DOC
    -STR