summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorConrad Irwin <conrad.irwin@gmail.com>2011-03-19 18:32:21 -0700
committerLloyd Hilaiel <lloyd@hilaiel.com>2011-04-20 11:17:40 -0600
commitecd8008a32677f4d03f8c9231ece27732a248404 (patch)
treef88244c16383ca4377e9cbadc4e5a7fb0ab1324a /test
parentb9e91a37f7132bf7f5b91de895b766db06ae3072 (diff)
downloadyajl-ecd8008a32677f4d03f8c9231ece27732a248404.tar.gz
Parse null bytes correctly.
Signed-off-by: Lloyd Hilaiel <lloyd@hilaiel.com>
Diffstat (limited to 'test')
-rw-r--r--test/cases/zerobyte.json1
-rw-r--r--test/cases/zerobyte.json.goldbin0 -> 28 bytes
2 files changed, 1 insertions, 0 deletions
diff --git a/test/cases/zerobyte.json b/test/cases/zerobyte.json
new file mode 100644
index 0000000..09c5044
--- /dev/null
+++ b/test/cases/zerobyte.json
@@ -0,0 +1 @@
+"\u0000"
diff --git a/test/cases/zerobyte.json.gold b/test/cases/zerobyte.json.gold
new file mode 100644
index 0000000..b0c58fc
--- /dev/null
+++ b/test/cases/zerobyte.json.gold
Binary files differ