Skip to content

Commit

Permalink
Add failing macro test
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioBenitez committed Nov 7, 2022
1 parent 652752b commit 4914ecf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions minijinja/tests/inputs/macro-extends.txt
@@ -0,0 +1,8 @@
{
"template": "simple_layout.txt"
}
---
{% extends template %}
{% macro foo() %}inside foo{% endmacro %}
{% block title %}{{ foo() }}{% endblock %}
{% block body %}new body{% endblock %}

0 comments on commit 4914ecf

Please sign in to comment.