always evaluate block.super even if it is not used

This commit is contained in:
Ilya Puchka
2019-01-21 22:31:21 +00:00
committed by David Jennes
parent a6d0428036
commit 701221c0fb
5 changed files with 28 additions and 33 deletions

View File

@@ -320,7 +320,7 @@ final class EnvironmentBaseAndChildTemplateTests: XCTestCase {
baseTemplate = try environment.loadTemplate(name: "invalid-base.html")
try expectError(reason: "filter error",
childToken: "block.super",
childToken: "extends \"invalid-base.html\"",
baseToken: "target|unknown")
}