aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ext_depends/D-YAML/test/spec 1.1/spec-08-07.yaml
blob: a7abd062a8f53c005a4356e4de5b31d11646eab9 (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-08-07
  yaml: |
    # Assuming conventional resolution:
    - "12"
    - 12
    - ! 12
  tree: |
    +STR
      +DOC
        +SEQ
          =VAL "12
          =VAL :12
          =VAL <!> :12
        -SEQ
      -DOC
    -STR
- name: spec-08-07-canonical
  yaml: |
    %YAML 1.1
    ---
    !!seq [
      !<tag:yaml.org,2002:str> "12",
      !<tag:yaml.org,2002:int> "12",
    #  !<tag:yaml.org,2002:str> "12",
      !<tag:yaml.org,2002:int> "12",
    ]
  tree: |
    +STR
      +DOC ---
        +SEQ [] <tag:yaml.org,2002:seq>
          =VAL <tag:yaml.org,2002:str> "12
          =VAL <tag:yaml.org,2002:int> "12
          =VAL <tag:yaml.org,2002:int> "12
        -SEQ
      -DOC
    -STR