diff options
Diffstat (limited to 'test/integration/targets/template/templates/72615-macro.j2')
-rw-r--r-- | test/integration/targets/template/templates/72615-macro.j2 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/integration/targets/template/templates/72615-macro.j2 b/test/integration/targets/template/templates/72615-macro.j2 new file mode 100644 index 00000000..328c271c --- /dev/null +++ b/test/integration/targets/template/templates/72615-macro.j2 @@ -0,0 +1,8 @@ +{% macro print_context_vars(value) %} +{{ foo }} +{{ value }} +{% set foo = "template-nested-level-foo" %} +{% set bar = "template-nested-level-bar" %} +{% from '72615-macro-nested.j2' import print_context_vars_nested with context %} +{{ print_context_vars_nested(bar) }} +{% endmacro %} |