templates, split parser and renderer, c++ class parser

This commit is contained in:
pantor
2017-11-21 21:19:52 +01:00
parent 27140612b3
commit 2c96b3bdf5
7 changed files with 370 additions and 398 deletions

View File

@@ -6,7 +6,7 @@
using json = nlohmann::json;
TEST_CASE("Files handling") {
TEST_CASE("loading") {
inja::Environment env = inja::Environment();
json data;
data["name"] = "Jeff";
@@ -24,7 +24,7 @@ TEST_CASE("Files handling") {
}
}
TEST_CASE("Complete files") {
TEST_CASE("complete-files") {
inja::Environment env = inja::Environment("data/");
for (std::string test_name : {"simple-file", "nested", "nested-line"}) {