match multiple regexes with types

This commit is contained in:
pantor
2017-12-01 16:21:18 +01:00
parent dcdfd740f3
commit a3d570b7c4
3 changed files with 142 additions and 140 deletions

View File

@@ -18,6 +18,7 @@ TEST_CASE("types") {
data["brother"]["daughters"] = {"Maria", "Helen"};
data["brother"]["daughter0"] = { { "name", "Maria" } };
data["is_happy"] = true;
data["is_sad"] = false;
SECTION("basic") {
CHECK( env.render("", data) == "" );