summaryrefslogtreecommitdiffstats
path: root/spec/builtins.js
diff options
context:
space:
mode:
authorkpdecker <kpdecker@gmail.com>2013-09-02 16:19:28 -0500
committerkpdecker <kpdecker@gmail.com>2013-09-02 16:19:28 -0500
commit192887cedce6e6155bb1a079ab2802ff28fbd2bf (patch)
tree8d4165b322cac9c54ecbd94743403d5937070f2a /spec/builtins.js
parent530f1903aa8ceb80b632d4dc12fcb701b046a946 (diff)
parent87b5d4ee61605b026506e92c9e8873d867c5f150 (diff)
downloadhandlebars.js-192887cedce6e6155bb1a079ab2802ff28fbd2bf.zip
handlebars.js-192887cedce6e6155bb1a079ab2802ff28fbd2bf.tar.gz
handlebars.js-192887cedce6e6155bb1a079ab2802ff28fbd2bf.tar.bz2
Merge commit '87b5d4ee61605b026506e92c9e8873d867c5f150' into es6-modules
Conflicts: dist/handlebars.js dist/handlebars.runtime.js lib/handlebars/base.js lib/handlebars/utils.js
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() {