mirror of
https://github.com/askama-rs/askama.git
synced 2025-09-30 06:21:13 +00:00

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.
16 lines
179 B
HTML
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
|