diff options
author | Pieter van de Bruggen <pvande@gmail.com> | 2011-03-08 21:16:14 -0800 |
---|---|---|
committer | Pieter van de Bruggen <pvande@gmail.com> | 2011-03-08 21:16:14 -0800 |
commit | 3e800d1ebcc86fa2e0f243f2ceb75acbb65c16f9 (patch) | |
tree | 3bc47c248acf34e7bfee34bbad9deb950614e49e /specs/comments.yml | |
parent | e3dca60d52c15757de4922dea366e7f0e4199745 (diff) | |
parent | 53b22b1bf883736de97cb1712496315b67a2008e (diff) | |
download | mustache-spec-3e800d1ebcc86fa2e0f243f2ceb75acbb65c16f9.tar.gz |
Merge branch 'v1.0'
Conflicts:
Changes
specs/inverted.json
specs/sections.json
Diffstat (limited to 'specs/comments.yml')
-rw-r--r-- | specs/comments.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/specs/comments.yml b/specs/comments.yml index c019666..7b14c7f 100644 --- a/specs/comments.yml +++ b/specs/comments.yml @@ -52,6 +52,18 @@ tests: template: "|\r\n{{! Standalone Comment }}\r\n|" expected: "|\r\n|" + - name: Standalone Without Previous Line + desc: Standalone tags should not require a newline to precede them. + data: { } + template: " {{! I'm Still Standalone }}\n!" + expected: "!" + + - name: Standalone Without Newline + desc: Standalone tags should not require a newline to follow them. + data: { } + template: "!\n {{! I'm Still Standalone }}" + expected: "!\n" + - name: Multiline Standalone desc: All standalone comment lines should be removed. data: { } |