summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy J. Wood <tjw@omnigroup.com>2009-02-25 12:17:09 -0800
committerTimothy J. Wood <tjw@omnigroup.com>2009-02-25 12:17:09 -0800
commit495514001e2c5707adc0b59207792b6677cbff01 (patch)
treeba64b1c355a2e6b5d9f0980d14d93f99ce407db4
parent2c95333597e200e724b7182753354864b46af586 (diff)
downloadyajl-495514001e2c5707adc0b59207792b6677cbff01.tar.gz
Add tests for top-level bool and null constants.
-rw-r--r--test/cases/false.json1
-rw-r--r--test/cases/false.json.gold1
-rw-r--r--test/cases/null.json1
-rw-r--r--test/cases/null.json.gold1
-rw-r--r--test/cases/true.json1
-rw-r--r--test/cases/true.json.gold1
6 files changed, 6 insertions, 0 deletions
diff --git a/test/cases/false.json b/test/cases/false.json
new file mode 100644
index 0000000..c508d53
--- /dev/null
+++ b/test/cases/false.json
@@ -0,0 +1 @@
+false
diff --git a/test/cases/false.json.gold b/test/cases/false.json.gold
new file mode 100644
index 0000000..c91690a
--- /dev/null
+++ b/test/cases/false.json.gold
@@ -0,0 +1 @@
+bool: false
diff --git a/test/cases/null.json b/test/cases/null.json
new file mode 100644
index 0000000..19765bd
--- /dev/null
+++ b/test/cases/null.json
@@ -0,0 +1 @@
+null
diff --git a/test/cases/null.json.gold b/test/cases/null.json.gold
new file mode 100644
index 0000000..19765bd
--- /dev/null
+++ b/test/cases/null.json.gold
@@ -0,0 +1 @@
+null
diff --git a/test/cases/true.json b/test/cases/true.json
new file mode 100644
index 0000000..27ba77d
--- /dev/null
+++ b/test/cases/true.json
@@ -0,0 +1 @@
+true
diff --git a/test/cases/true.json.gold b/test/cases/true.json.gold
new file mode 100644
index 0000000..3283d03
--- /dev/null
+++ b/test/cases/true.json.gold
@@ -0,0 +1 @@
+bool: true