aboutsummaryrefslogtreecommitdiff
path: root/tests/valid/arrays-hetergeneous.json
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-01-15 12:44:05 -0800
committerAlex Crichton <alex@alexcrichton.com>2015-01-15 12:44:05 -0800
commit0d8ce979a4d98c895f5f75826e8c49f02a64f311 (patch)
tree43dfa62e4459bd526deda6ebb79eb183a4d82af0 /tests/valid/arrays-hetergeneous.json
parentaef183823c6de926cf1b598cae537e30dc6ad103 (diff)
downloadmilf-rs-0d8ce979a4d98c895f5f75826e8c49f02a64f311.tar.gz
milf-rs-0d8ce979a4d98c895f5f75826e8c49f02a64f311.zip
Move tests to integration tests
Diffstat (limited to 'tests/valid/arrays-hetergeneous.json')
-rw-r--r--tests/valid/arrays-hetergeneous.json19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/valid/arrays-hetergeneous.json b/tests/valid/arrays-hetergeneous.json
new file mode 100644
index 0000000..e703739
--- /dev/null
+++ b/tests/valid/arrays-hetergeneous.json
@@ -0,0 +1,19 @@
+{
+ "mixed": {
+ "type": "array",
+ "value": [
+ {"type": "array", "value": [
+ {"type": "integer", "value": "1"},
+ {"type": "integer", "value": "2"}
+ ]},
+ {"type": "array", "value": [
+ {"type": "string", "value": "a"},
+ {"type": "string", "value": "b"}
+ ]},
+ {"type": "array", "value": [
+ {"type": "float", "value": "1.0"},
+ {"type": "float", "value": "2.0"}
+ ]}
+ ]
+ }
+}