aboutsummaryrefslogtreecommitdiff
path: root/thirdparty/ryml/test/test_generic_seq.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2026-02-23 11:19:52 +0100
committerGitHub Enterprise <[email protected]>2026-02-23 11:19:52 +0100
commit9aac0fd369b87e965fb34b5168646387de7ea1cd (patch)
tree367a820685a829adbab31cd1374b1af2cece4b7e /thirdparty/ryml/test/test_generic_seq.cpp
parentchanged command names and descriptions to use class members instead of string... (diff)
downloadzen-9aac0fd369b87e965fb34b5168646387de7ea1cd.tar.xz
zen-9aac0fd369b87e965fb34b5168646387de7ea1cd.zip
implement yaml generation (#774)
this implements a yaml generation strategy similar to the JSON generation where we just build a string instead of building a ryml tree. This also removes the dependency on ryml for reduced binary/build times.
Diffstat (limited to 'thirdparty/ryml/test/test_generic_seq.cpp')
-rw-r--r--thirdparty/ryml/test/test_generic_seq.cpp47
1 files changed, 0 insertions, 47 deletions
diff --git a/thirdparty/ryml/test/test_generic_seq.cpp b/thirdparty/ryml/test/test_generic_seq.cpp
deleted file mode 100644
index 45f9c1d3e..000000000
--- a/thirdparty/ryml/test/test_generic_seq.cpp
+++ /dev/null
@@ -1,47 +0,0 @@
-#include "./test_group.hpp"
-
-namespace c4 {
-namespace yml {
-
-CASE_GROUP(GENERIC_SEQ)
-{
-
-ADD_CASE_TO_GROUP("generic seq v0",
-R"(
-- item 1
-- item 2
-- - item 3.1
- - item 3.2
-- key 1: value 1
- key 2: value 2
-)",
- L{
- N("item 1"),
- N("item 2"),
- N(L{N("item 3.1"), N("item 3.2")}),
- N(L{N("key 1", "value 1"), N("key 2", "value 2")})
- }
-);
-
-ADD_CASE_TO_GROUP("generic seq v1",
-R"(
-- item 1
-- item 2
--
- - item 3.1
- - item 3.2
--
- key 1: value 1
- key 2: value 2
-)",
- L{
- N("item 1"),
- N("item 2"),
- N(L{N("item 3.1"), N("item 3.2")}),
- N(L{N("key 1", "value 1"), N("key 2", "value 2")})
- }
-);
-}
-
-} // namespace yml
-} // namespace c4