mirror of
https://github.com/pantor/inja.git
synced 2026-05-18 02:05:23 +00:00
show location for render errors
This commit is contained in:
+1
-1
@@ -44,7 +44,7 @@ TEST_CASE("complete-files") {
|
||||
for (std::string test_name : {"error-unknown"}) {
|
||||
SUBCASE(test_name.c_str()) {
|
||||
CHECK_THROWS_WITH(env.render_file_with_json_file(test_name + "/template.txt", test_name + "/data.json"),
|
||||
"[inja.exception.parser_error] (at 2:11) expected 'in', got 'ins'");
|
||||
"[inja.exception.parser_error] (at 2:10) expected 'in', got 'ins'");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user