summaryrefslogtreecommitdiff
path: root/specs/sections.json
diff options
context:
space:
mode:
Diffstat (limited to 'specs/sections.json')
-rw-r--r--specs/sections.json9
1 files changed, 9 insertions, 0 deletions
diff --git a/specs/sections.json b/specs/sections.json
index 73eb2a4..3acc414 100644
--- a/specs/sections.json
+++ b/specs/sections.json
@@ -21,6 +21,15 @@
"expected": "\"\""
},
{
+ "name": "Null is falsey",
+ "desc": "Null is falsey.",
+ "data": {
+ "null": null
+ },
+ "template": "\"{{#null}}This should not be rendered.{{/null}}\"",
+ "expected": "\"\""
+ },
+ {
"name": "Context",
"desc": "Objects and hashes should be pushed onto the context stack.",
"data": {