summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPieter van de Bruggen <pvande@gmail.com>2011-01-04 13:07:46 -0800
committerPieter van de Bruggen <pvande@gmail.com>2011-01-04 13:07:46 -0800
commitc7c65b87fbd215ff4ec72843d052233271a6399f (patch)
treee51bf14d830538898c31bec297fa61de0aa6e3cd
parent9733efe4fa141f1d472a0eaaf28072933e2f9e81 (diff)
downloadmustache-spec-c7c65b87fbd215ff4ec72843d052233271a6399f.tar.gz
The bare 'Y' in YAML is often coerced into 'true'.
-rw-r--r--specs/partials.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/specs/partials.yml b/specs/partials.yml
index 424e650..309353b 100644
--- a/specs/partials.yml
+++ b/specs/partials.yml
@@ -15,7 +15,7 @@ tests:
- name: Recursion
desc: The greater-than operator should properly recurse.
- data: { content: X, nodes: [ { content: Y, nodes: [] } ] }
+ data: { content: "X", nodes: [ { content: "Y", nodes: [] } ] }
template: '{{>node}}'
partials: { node: '{{content}}<{{#nodes}}{{>node}}{{/nodes}}>' }
expected: 'X<Y<>>'