summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTimothy J. Wood <tjw@omnigroup.com>2009-02-25 12:26:26 -0800
committerTimothy J. Wood <tjw@omnigroup.com>2009-02-25 12:26:26 -0800
commitbfcb50a1e1c5181f4e8373a5fbc74b02649b73bf (patch)
tree3ab8c70987d62cf5984874dc6095c32a9b6ad10e /test
parent495514001e2c5707adc0b59207792b6677cbff01 (diff)
downloadyajl-bfcb50a1e1c5181f4e8373a5fbc74b02649b73bf.tar.gz
Test case for a top-level empty string.
Diffstat (limited to 'test')
-rw-r--r--test/cases/empty_string.json1
-rw-r--r--test/cases/empty_string.json.gold1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/cases/empty_string.json b/test/cases/empty_string.json
new file mode 100644
index 0000000..e16c76d
--- /dev/null
+++ b/test/cases/empty_string.json
@@ -0,0 +1 @@
+""
diff --git a/test/cases/empty_string.json.gold b/test/cases/empty_string.json.gold
new file mode 100644
index 0000000..c3a3cd3
--- /dev/null
+++ b/test/cases/empty_string.json.gold
@@ -0,0 +1 @@
+string: ''