]> git.proxmox.com Git - rustc.git/blobdiff - vendor/basic-toml/tests/valid/arrays.json
New upstream version 1.70.0+dfsg1
[rustc.git] / vendor / basic-toml / tests / valid / arrays.json
diff --git a/vendor/basic-toml/tests/valid/arrays.json b/vendor/basic-toml/tests/valid/arrays.json
new file mode 100644 (file)
index 0000000..58aedbc
--- /dev/null
@@ -0,0 +1,34 @@
+{
+    "ints": {
+        "type": "array",
+        "value": [
+            {"type": "integer", "value": "1"},
+            {"type": "integer", "value": "2"},
+            {"type": "integer", "value": "3"}
+        ]
+    },
+    "floats": {
+        "type": "array",
+        "value": [
+            {"type": "float", "value": "1.1"},
+            {"type": "float", "value": "2.1"},
+            {"type": "float", "value": "3.1"}
+        ]
+    },
+    "strings": {
+        "type": "array",
+        "value": [
+            {"type": "string", "value": "a"},
+            {"type": "string", "value": "b"},
+            {"type": "string", "value": "c"}
+        ]
+    },
+    "dates": {
+        "type": "array",
+        "value": [
+            {"type": "datetime", "value": "1987-07-05T17:45:00Z"},
+            {"type": "datetime", "value": "1979-05-27T07:32:00Z"},
+            {"type": "datetime", "value": "2006-06-01T11:00:00Z"}
+        ]
+    }
+}