summaryrefslogtreecommitdiff
path: root/specs/delimiters.yml
diff options
context:
space:
mode:
Diffstat (limited to 'specs/delimiters.yml')
-rw-r--r--specs/delimiters.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/specs/delimiters.yml b/specs/delimiters.yml
index 36a9b9b..ce80b17 100644
--- a/specs/delimiters.yml
+++ b/specs/delimiters.yml
@@ -137,6 +137,18 @@ tests:
template: "|\r\n{{= @ @ =}}\r\n|"
expected: "|\r\n|"
+ - name: Standalone Without Previous Line
+ desc: Standalone tags should not require a newline to precede them.
+ data: { }
+ template: " {{=@ @=}}\n="
+ expected: "="
+
+ - name: Standalone Without Newline
+ desc: Standalone tags should not require a newline to follow them.
+ data: { }
+ template: "=\n {{=@ @=}}"
+ expected: "=\n"
+
# Whitespace Insensitivity
- name: Pair with Padding