summaryrefslogtreecommitdiff
path: root/test/YAMLParser/construct-null.data
diff options
context:
space:
mode:
Diffstat (limited to 'test/YAMLParser/construct-null.data')
-rw-r--r--test/YAMLParser/construct-null.data20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/YAMLParser/construct-null.data b/test/YAMLParser/construct-null.data
new file mode 100644
index 0000000000..51f8b61e24
--- /dev/null
+++ b/test/YAMLParser/construct-null.data
@@ -0,0 +1,20 @@
+# RUN: yaml-bench -canonical %s
+
+# A document may be null.
+---
+---
+# This mapping has four keys,
+# one has a value.
+empty:
+canonical: ~
+english: null
+~: null key
+---
+# This sequence has five
+# entries, two have values.
+sparse:
+ - ~
+ - 2nd entry
+ -
+ - 4th entry
+ - Null