aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ext_depends/D-YAML/test/spec 1.1/spec-09-05.yaml
blob: 11cfd2e92494725de192d81cf6798b60f833b522 (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
%YAML 1.1
---
- name: spec-09-05
  yaml: "- \"first\n  \t\"\n- \"first\n\n  \tlast\"\n- \"first\n inner\n \\ \tlast\"\
    \n"
  tree: |
    +STR
      +DOC
        +SEQ
          =VAL "first 
          =VAL "first\nlast
          =VAL "first inner  \tlast
        -SEQ
      -DOC
    -STR
- name: spec-09-05-canonical
  yaml: |
    %YAML 1.1
    ---
    !!seq [
      !!str "first ",
      !!str "first\nlast",
      !!str "first inner  \tlast",
    ]
  tree: |
    +STR
      +DOC ---
        +SEQ [] <tag:yaml.org,2002:seq>
          =VAL <tag:yaml.org,2002:str> "first 
          =VAL <tag:yaml.org,2002:str> "first\nlast
          =VAL <tag:yaml.org,2002:str> "first inner  \tlast
        -SEQ
      -DOC
    -STR