summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxi <xi@18f92427-320e-0410-9341-c67f048884a3>2008-09-30 11:56:14 +0000
committerxi <xi@18f92427-320e-0410-9341-c67f048884a3>2008-09-30 11:56:14 +0000
commitec8fc89edefbedac1b8d58e469c8aa780122ce35 (patch)
tree22e882dd801753f13c0235960a94e64ad99a9b5c
parente86a1fbcad269bc74cdb0fb5d1ae834dbe9a022f (diff)
downloadpyyaml-ec8fc89edefbedac1b8d58e469c8aa780122ce35.tar.gz
Added a test for single dot being a float bug.
git-svn-id: http://svn.pyyaml.org/pyyaml/trunk@276 18f92427-320e-0410-9341-c67f048884a3
-rw-r--r--tests/data/single-dot-is-not-float-bug.code1
-rw-r--r--tests/data/single-dot-is-not-float-bug.data1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/data/single-dot-is-not-float-bug.code b/tests/data/single-dot-is-not-float-bug.code
new file mode 100644
index 0000000..dcd0c2f
--- /dev/null
+++ b/tests/data/single-dot-is-not-float-bug.code
@@ -0,0 +1 @@
+'.'
diff --git a/tests/data/single-dot-is-not-float-bug.data b/tests/data/single-dot-is-not-float-bug.data
new file mode 100644
index 0000000..9c558e3
--- /dev/null
+++ b/tests/data/single-dot-is-not-float-bug.data
@@ -0,0 +1 @@
+.