summaryrefslogtreecommitdiff
path: root/std/encoding/testdata
diff options
context:
space:
mode:
authorPeter <peter@kodifiera.se>2020-10-11 21:33:23 +0200
committerGitHub <noreply@github.com>2020-10-11 21:33:23 +0200
commit08f3ae92d3935559a5134bc5da900d3784142bf3 (patch)
tree8c91e4200e66ea786c0bae06ce9e30f049bdccff /std/encoding/testdata
parentfa80649926bd492b739b4d509008b38c27eeab06 (diff)
fix(std): Parsing inline arrays of inline tables in toml (#7902)
Diffstat (limited to 'std/encoding/testdata')
-rw-r--r--std/encoding/testdata/inlineArrayOfInlineTable.toml8
1 files changed, 8 insertions, 0 deletions
diff --git a/std/encoding/testdata/inlineArrayOfInlineTable.toml b/std/encoding/testdata/inlineArrayOfInlineTable.toml
new file mode 100644
index 000000000..a440ff927
--- /dev/null
+++ b/std/encoding/testdata/inlineArrayOfInlineTable.toml
@@ -0,0 +1,8 @@
+[inlineArray]
+string = [ {var = "a string"} ]
+
+my_points = [ { x = 1, y = 2, z = 3 }, { x = 7, y = 8, z = 9 }, { x = 2, y = 4, z = 8 } ]
+
+points = [ { x = 1, y = 2, z = 3 },
+ { x = 7, y = 8, z = 9 },
+ { x = 2, y = 4, z = 8 } ] \ No newline at end of file