diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-09-10 18:37:24 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-09-10 18:37:24 +0200 |
commit | 9ea4368ff1e4842286e0e7a6aec58a2c2c799d5b (patch) | |
tree | 47d31fa6d686dd50220edfa505fcc21ce6c860fe /tests/00_syntax/15_function_declarations | |
parent | 39164c57d893b02f9a253c661abc2459bcd57e5c (diff) |
treewide: implement default lstrip_blocks and trim_blocks behaviour
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'tests/00_syntax/15_function_declarations')
-rw-r--r-- | tests/00_syntax/15_function_declarations | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/00_syntax/15_function_declarations b/tests/00_syntax/15_function_declarations index 846f379..cb391a4 100644 --- a/tests/00_syntax/15_function_declarations +++ b/tests/00_syntax/15_function_declarations @@ -17,9 +17,9 @@ function() { ... } function test_fn(a, b) { ... } function test2_fn(a, b) { ... } - A function declaration using the alternative syntax: The function was called with arguments 123 and 456. + -- End -- -- Testcase -- @@ -50,10 +50,8 @@ The function was called with arguments 123 and 456. %} A function declaration using the alternative syntax: - -{%- function test3_fn(a, b): %} +{% function test3_fn(a, b): %} The function was called with arguments {{ a }} and {{ b }}. -{%- endfunction -%} - +{% endfunction %} {{ test3_fn(123, 456) }} -- End -- |