From 88857376d837c86ee4cbbe6ff3c9a22ab2113ffe Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 29 Apr 2024 06:27:32 +0200 Subject: Adding upstream version 1.0.0. Signed-off-by: Daniel Baumann --- tests/data/extras/valid/burntsushi-repo/inline-table-nest.toml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/data/extras/valid/burntsushi-repo/inline-table-nest.toml (limited to 'tests/data/extras/valid/burntsushi-repo/inline-table-nest.toml') diff --git a/tests/data/extras/valid/burntsushi-repo/inline-table-nest.toml b/tests/data/extras/valid/burntsushi-repo/inline-table-nest.toml new file mode 100644 index 0000000..2624c1d --- /dev/null +++ b/tests/data/extras/valid/burntsushi-repo/inline-table-nest.toml @@ -0,0 +1,10 @@ +tbl_tbl_empty = { tbl_0 = {} } +tbl_tbl_val = { tbl_1 = { one = 1 } } +tbl_arr_tbl = { arr_tbl = [ { one = 1 } ] } +arr_tbl_tbl = [ { tbl = { one = 1 } } ] + +# Array-of-array-of-table is interesting because it can only +# be represented in inline form. +arr_arr_tbl_empty = [ [ {} ] ] +arr_arr_tbl_val = [ [ { one = 1 } ] ] +arr_arr_tbls = [ [ { one = 1 }, { two = 2 } ] ] -- cgit v1.2.3