summaryrefslogtreecommitdiff
path: root/test/YAMLParser/construct-omap.data
diff options
context:
space:
mode:
Diffstat (limited to 'test/YAMLParser/construct-omap.data')
-rw-r--r--test/YAMLParser/construct-omap.data10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/YAMLParser/construct-omap.data b/test/YAMLParser/construct-omap.data
new file mode 100644
index 0000000000..b96d6799c7
--- /dev/null
+++ b/test/YAMLParser/construct-omap.data
@@ -0,0 +1,10 @@
+# RUN: yaml-bench -canonical %s
+
+# Explicitly typed ordered map (dictionary).
+Bestiary: !!omap
+ - aardvark: African pig-like ant eater. Ugly.
+ - anteater: South-American ant eater. Two species.
+ - anaconda: South-American constrictor snake. Scaly.
+ # Etc.
+# Flow style
+Numbers: !!omap [ one: 1, two: 2, three : 3 ]