aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ext_depends/D-YAML/test/spec 1.1/spec-08-12.yaml
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2025-08-28 10:35:13 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2025-08-28 10:35:13 -0400
commit3539b7f5308b617e99b0a4ea298a413acbda4d79 (patch)
tree42101adf54ce7fc060da9e312dc508aaf1302bf2 /src/ext_depends/D-YAML/test/spec 1.1/spec-08-12.yaml
parentdub 1.40.0, llvm 20 (diff)
src/ext_deplends d-yaml updated (v0.10.0)HEADmain
Diffstat (limited to 'src/ext_depends/D-YAML/test/spec 1.1/spec-08-12.yaml')
-rw-r--r--src/ext_depends/D-YAML/test/spec 1.1/spec-08-12.yaml50
1 files changed, 50 insertions, 0 deletions
diff --git a/src/ext_depends/D-YAML/test/spec 1.1/spec-08-12.yaml b/src/ext_depends/D-YAML/test/spec 1.1/spec-08-12.yaml
new file mode 100644
index 0000000..fb784d8
--- /dev/null
+++ b/src/ext_depends/D-YAML/test/spec 1.1/spec-08-12.yaml
@@ -0,0 +1,50 @@
+%YAML 1.1
+---
+- name: spec-08-12
+ yaml: |
+ [
+ Without properties,
+ &anchor "Anchored",
+ !!str 'Tagged',
+ *anchor, # Alias node
+ !!str , # Empty plain scalar
+ '', # Empty plain scalar
+ ]
+ tree: |
+ +STR
+ +DOC
+ +SEQ []
+ =VAL :Without properties
+ =VAL &anchor "Anchored
+ =VAL <tag:yaml.org,2002:str> 'Tagged
+ =ALI *anchor
+ =VAL <tag:yaml.org,2002:str> :
+ =VAL '
+ -SEQ
+ -DOC
+ -STR
+- name: spec-08-12-canonical
+ yaml: |
+ %YAML 1.1
+ ---
+ !!seq [
+ !!str "Without properties",
+ &A !!str "Anchored",
+ !!str "Tagged",
+ *A,
+ !!str "",
+ !!str "",
+ ]
+ tree: |
+ +STR
+ +DOC ---
+ +SEQ [] <tag:yaml.org,2002:seq>
+ =VAL <tag:yaml.org,2002:str> "Without properties
+ =VAL &A <tag:yaml.org,2002:str> "Anchored
+ =VAL <tag:yaml.org,2002:str> "Tagged
+ =ALI *A
+ =VAL <tag:yaml.org,2002:str> "
+ =VAL <tag:yaml.org,2002:str> "
+ -SEQ
+ -DOC
+ -STR