diff options
Diffstat (limited to 'tests/00_syntax/06_open_statement_block')
-rw-r--r-- | tests/00_syntax/06_open_statement_block | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/00_syntax/06_open_statement_block b/tests/00_syntax/06_open_statement_block new file mode 100644 index 0000000..9c2d142 --- /dev/null +++ b/tests/00_syntax/06_open_statement_block @@ -0,0 +1,13 @@ +The last statement block of a template may remain open, this is useful for templates +that contain only code. + +-- Expect stdout -- +This template consists entirely of script code! +-- End -- + +-- Testcase -- +{% + print("This template "); + print("consists entirely "); + print("of script code!\n"); +-- End -- |