mirror of
https://github.com/pantor/inja.git
synced 2026-03-11 19:51:23 +00:00
fix render error position in templates
This commit is contained in:
@@ -79,6 +79,6 @@ TEST_CASE("include-without-local-files") {
|
||||
env.set_search_included_templates_in_files(false);
|
||||
|
||||
SUBCASE("html") {
|
||||
CHECK_THROWS_WITH(env.render_file_with_json_file("html/template.txt", "html/data.json"), "[inja.exception.render_error] (at 21:1) include '../test/data/html/header.txt' not found");
|
||||
CHECK_THROWS_WITH(env.render_file_with_json_file("html/template.txt", "html/data.json"), "[inja.exception.render_error] (at 3:14) include '../test/data/html/header.txt' not found");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user