summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorxi <xi@18f92427-320e-0410-9341-c67f048884a3>2006-09-12 13:53:30 +0000
committerxi <xi@18f92427-320e-0410-9341-c67f048884a3>2006-09-12 13:53:30 +0000
commit183e8d1d4abf5fe11e872fd8f5535002ce6ae37f (patch)
treea4507010b45772f8338b48377d7228a79093e128 /tests
parent9357b0a9873c2fc0ba231c9d4e4e44e68ab4e188 (diff)
downloadpyyaml-183e8d1d4abf5fe11e872fd8f5535002ce6ae37f.tar.gz
Fix loading an empty YAML stream.
git-svn-id: http://svn.pyyaml.org/pyyaml/trunk@233 18f92427-320e-0410-9341-c67f048884a3
Diffstat (limited to 'tests')
-rw-r--r--tests/data/empty-document-bug.canonical1
-rw-r--r--tests/data/empty-document-bug.data0
2 files changed, 1 insertions, 0 deletions
diff --git a/tests/data/empty-document-bug.canonical b/tests/data/empty-document-bug.canonical
new file mode 100644
index 0000000..28a6cf1
--- /dev/null
+++ b/tests/data/empty-document-bug.canonical
@@ -0,0 +1 @@
+# This YAML stream contains no YAML documents.
diff --git a/tests/data/empty-document-bug.data b/tests/data/empty-document-bug.data
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/data/empty-document-bug.data