summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--specs/partials.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/specs/partials.yml b/specs/partials.yml
index 50c1410..3b65334 100644
--- a/specs/partials.yml
+++ b/specs/partials.yml
@@ -37,8 +37,8 @@ tests:
expected: " | >\n>\n"
- name: Standalone Indentation
- desc: Indentation should be prepended to each line of the partial.
- data: { }
+ desc: Each line of the partial should be indented before rendering.
+ data: { content: "<\n->" }
template: |
\
{{>partial}}
@@ -46,10 +46,13 @@ tests:
partials:
partial: |
|
+ {{{content}}}
|
expected: |
\
|
+ <
+ ->
|
/