askama/testing/templates/macro-import-str-cmp.html
René Kijewski 6d1cf5e43d Issue #379 was fixed
This PR adds the tests by @msrd0 <git@msrd0.de> that failed before.
The error was fixed somewhen between f23162a and now, so these tests
serve to prevent regressions in the future.

I simplified the tests very slightly to omit whitespaces in the output.
2021-07-30 21:57:00 +02:00

16 lines
179 B
HTML

{%- import "macro-import-str-cmp-macro.html" as macros -%}
A
{%- call macros::strcmp("foo") -%}
B
{%- call macros::strcmp("bar") -%}
C
{%- call macros::strcmp("cat") -%}
D