diff options
author | Pieter van de Bruggen <pvande@gmail.com> | 2011-01-04 13:06:53 -0800 |
---|---|---|
committer | Pieter van de Bruggen <pvande@gmail.com> | 2011-01-04 13:06:53 -0800 |
commit | 9733efe4fa141f1d472a0eaaf28072933e2f9e81 (patch) | |
tree | a35b7efd9002594ed2f8929ed0b1b5550a3779d1 | |
parent | cf87c2f067895f1a793454fc0112a6ad7ffe222f (diff) | |
download | mustache-spec-9733efe4fa141f1d472a0eaaf28072933e2f9e81.tar.gz |
The bare 'n' in YAML is often coerced into 'false'.
-rw-r--r-- | specs/sections.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/specs/sections.yml b/specs/sections.yml index 3c953ba..dbfae8e 100644 --- a/specs/sections.yml +++ b/specs/sections.yml @@ -58,8 +58,8 @@ tests: - name: List desc: Lists should be iterated; list items should visit the context stack. - data: { list: [ { n: 1 }, { n: 2 }, { n: 3 } ] } - template: '"{{#list}}{{n}}{{/list}}"' + data: { list: [ { item: 1 }, { item: 2 }, { item: 3 } ] } + template: '"{{#list}}{{item}}{{/list}}"' expected: '"123"' - name: Empty List |