Permalink
Browse files

More safety tests

  • Loading branch information...
1 parent bdace20 commit 09d0eaa698096dada47052352ead7eb421699744 @groue committed Oct 1, 2012
@@ -75,6 +75,12 @@
"template": "<{{^subject}}---{{/subject}}>",
"expected": "<>"
},
+ {
+ "name": "List made of an empty list should trigger the section omission.",
+ "data": { "subject": [[]] },
+ "template": "<{{^subject}}---{{/subject}}>",
+ "expected": "<>"
+ },
// Whitespace Insensitivity
@@ -69,6 +69,12 @@
"template": "<{{#subject}}---{{/subject}}>",
"expected": "<--->"
},
+ {
+ "name": "List made of an empty list should trigger the section rendering.",
+ "data": { "subject": [[]] },
+ "template": "<{{#subject}}---{{/subject}}>",
+ "expected": "<--->"
+ },
// Context stack

0 comments on commit 09d0eaa

Please sign in to comment.