diff --git a/specs/sections.yml b/specs/sections.yml index ac870b5..db574b2 100644 --- a/specs/sections.yml +++ b/specs/sections.yml @@ -98,6 +98,12 @@ tests: template: '"{{#list}}Yay lists!{{/list}}"' expected: '""' + - name: Strings Not Lists + desc: Strings should not be interpreted as list types. + data: { section: '123' } + template: '"{{#section}}foo{{/section}}"' + expected: '"foo"' + - name: Doubled desc: Multiple sections per template should be permitted. data: { bool: true, two: 'second' }