aboutsummaryrefslogtreecommitdiff
path: root/thirdparty/ryml/test/test_nested_mapx2.cpp
diff options
context:
space:
mode:
authorLiam Mitchell <[email protected]>2026-03-09 19:06:36 -0700
committerLiam Mitchell <[email protected]>2026-03-09 19:06:36 -0700
commitd1abc50ee9d4fb72efc646e17decafea741caa34 (patch)
treee4288e00f2f7ca0391b83d986efcb69d3ba66a83 /thirdparty/ryml/test/test_nested_mapx2.cpp
parentAllow requests with invalid content-types unless specified in command line or... (diff)
parentupdated chunk–block analyser (#818) (diff)
downloadzen-d1abc50ee9d4fb72efc646e17decafea741caa34.tar.xz
zen-d1abc50ee9d4fb72efc646e17decafea741caa34.zip
Merge branch 'main' into lm/restrict-content-type
Diffstat (limited to 'thirdparty/ryml/test/test_nested_mapx2.cpp')
-rw-r--r--thirdparty/ryml/test/test_nested_mapx2.cpp73
1 files changed, 0 insertions, 73 deletions
diff --git a/thirdparty/ryml/test/test_nested_mapx2.cpp b/thirdparty/ryml/test/test_nested_mapx2.cpp
deleted file mode 100644
index b1856fa08..000000000
--- a/thirdparty/ryml/test/test_nested_mapx2.cpp
+++ /dev/null
@@ -1,73 +0,0 @@
-#include "./test_group.hpp"
-
-namespace c4 {
-namespace yml {
-
-CASE_GROUP(NESTED_MAPX2)
-{
-
-ADD_CASE_TO_GROUP("nested map x2, explicit, same line",
-R"({foo: {foo0: 00, bar0: 01, baz0: 02}, bar: {foo1: 10, bar1: 11, baz1: 12}, baz: {foo2: 20, bar2: 21, baz2: 22}})",
- L{
- N{"foo", L{N{"foo0", "00"}, N{"bar0", "01"}, N{"baz0", "02"}}},
- N{"bar", L{N{"foo1", "10"}, N{"bar1", "11"}, N{"baz1", "12"}}},
- N{"baz", L{N{"foo2", "20"}, N{"bar2", "21"}, N{"baz2", "22"}}},
- }
-);
-
-ADD_CASE_TO_GROUP("nested map x2, explicit",
-R"({
-foo: {foo0: 00, bar0: 01, baz0: 02},
-bar: {foo1: 10, bar1: 11, baz1: 12},
-baz: {foo2: 20, bar2: 21, baz2: 22}
-})",
- L{
- N{"foo", L{N{"foo0", "00"}, N{"bar0", "01"}, N{"baz0", "02"}}},
- N{"bar", L{N{"foo1", "10"}, N{"bar1", "11"}, N{"baz1", "12"}}},
- N{"baz", L{N{"foo2", "20"}, N{"bar2", "21"}, N{"baz2", "22"}}},
- }
-);
-
-ADD_CASE_TO_GROUP("nested map x2",
-R"(
-foo:
- foo0: 00
- bar0: 01
- baz0: 02
-bar:
- foo1: 10
- bar1: 11
- baz1: 12
-baz:
- foo2: 20
- bar2: 21
- baz2: 22
-)",
- L{
- N{"foo", L{N{"foo0", "00"}, N{"bar0", "01"}, N{"baz0", "02"}}},
- N{"bar", L{N{"foo1", "10"}, N{"bar1", "11"}, N{"baz1", "12"}}},
- N{"baz", L{N{"foo2", "20"}, N{"bar2", "21"}, N{"baz2", "22"}}},
- }
-);
-
-
-ADD_CASE_TO_GROUP("nested map x2, commented",
- R"(
-send_to:
- #host: 192.168.1.100
- #port: 7000
- host: 192.168.1.101
- port: 7001
- #host: 192.168.1.102
- #port: 7002
-)",
- L{
- N("send_to", L{
- N("host", "192.168.1.101"),
- N("port", "7001") })
- }
-);
-}
-
-} // namespace yml
-} // namespace c4