mirror of
https://github.com/pantor/inja.git
synced 2026-03-13 04:31:23 +00:00
add line statements, new tests, c++11 in cmake
This commit is contained in:
@@ -28,7 +28,7 @@ TEST_CASE("Files handling") {
|
||||
TEST_CASE("Complete files") {
|
||||
Environment env = Environment("../test/data/");
|
||||
|
||||
for (std::string test_name : {"simple-file", "nested"}) {
|
||||
for (std::string test_name : {"simple-file", "nested", "nested-line"}) {
|
||||
SECTION(test_name) {
|
||||
CHECK( env.render_template_with_json_file(test_name + "/template.txt", test_name + "/data.json") == env.load_file(test_name + "/result.txt") );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user