summaryrefslogtreecommitdiffstats
path: root/spec/builtins.js
diff options
context:
space:
mode:
Diffstat (limited to 'spec/builtins.js')
-rw-r--r--spec/builtins.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/builtins.js b/spec/builtins.js
index bf77d1a..c594294 100644
--- a/spec/builtins.js
+++ b/spec/builtins.js
@@ -20,6 +20,8 @@ describe('builtin helpers', function() {
"if with non-empty array shows the contents");
shouldCompileTo(string, {goodbye: [], world: "world"}, "cruel world!",
"if with empty array does not show the contents");
+ shouldCompileTo(string, {goodbye: 0, world: "world"}, "GOODBYE cruel world!",
+ "if with zero does show the contents");
});
it("if with function argument", function() {