aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ext_depends/D-YAML/test/spec 1.1/spec-02-28.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext_depends/D-YAML/test/spec 1.1/spec-02-28.yaml')
-rw-r--r--src/ext_depends/D-YAML/test/spec 1.1/spec-02-28.yaml82
1 files changed, 82 insertions, 0 deletions
diff --git a/src/ext_depends/D-YAML/test/spec 1.1/spec-02-28.yaml b/src/ext_depends/D-YAML/test/spec 1.1/spec-02-28.yaml
new file mode 100644
index 0000000..7f142d7
--- /dev/null
+++ b/src/ext_depends/D-YAML/test/spec 1.1/spec-02-28.yaml
@@ -0,0 +1,82 @@
+%YAML 1.1
+---
+- name: spec-02-28
+ tree: |
+ +STR
+ +DOC ---
+ +MAP
+ =VAL :Time
+ =VAL :2001-11-23 15:01:42 -5
+ =VAL :User
+ =VAL :ed
+ =VAL :Warning
+ =VAL :This is an error message for the log file
+ -MAP
+ -DOC
+ +DOC ---
+ +MAP
+ =VAL :Time
+ =VAL :2001-11-23 15:02:31 -5
+ =VAL :User
+ =VAL :ed
+ =VAL :Warning
+ =VAL :A slightly different error message.
+ -MAP
+ -DOC
+ +DOC ---
+ +MAP
+ =VAL :Date
+ =VAL :2001-11-23 15:03:17 -5
+ =VAL :User
+ =VAL :ed
+ =VAL :Fatal
+ =VAL :Unknown variable "bar"
+ =VAL :Stack
+ +SEQ
+ +MAP
+ =VAL :file
+ =VAL :TopClass.py
+ =VAL :line
+ =VAL :23
+ =VAL :code
+ =VAL |x = MoreObject("345\\n")\n
+ -MAP
+ +MAP
+ =VAL :file
+ =VAL :MoreClass.py
+ =VAL :line
+ =VAL :58
+ =VAL :code
+ =VAL |foo = bar
+ -MAP
+ -SEQ
+ -MAP
+ -DOC
+ -STR
+ yaml: |
+ ---
+ Time: 2001-11-23 15:01:42 -5
+ User: ed
+ Warning:
+ This is an error message
+ for the log file
+ ---
+ Time: 2001-11-23 15:02:31 -5
+ User: ed
+ Warning:
+ A slightly different error
+ message.
+ ---
+ Date: 2001-11-23 15:03:17 -5
+ User: ed
+ Fatal:
+ Unknown variable "bar"
+ Stack:
+ - file: TopClass.py
+ line: 23
+ code: |
+ x = MoreObject("345\n")
+ - file: MoreClass.py
+ line: 58
+ code: |-
+ foo = bar