diff options
author | kpdecker <kpdecker@gmail.com> | 2013-08-15 10:29:37 -0500 |
---|---|---|
committer | kpdecker <kpdecker@gmail.com> | 2013-08-15 10:29:37 -0500 |
commit | 534d0ebcc3c242b539b2c37a54dbae8d81255eca (patch) | |
tree | 9df63813be6b9fa7d11dbd9711d7ade53580ef8e /spec/builtins.js | |
parent | 564afab2785b683fa51962129b04f7f1e20d0154 (diff) | |
download | handlebars.js-534d0ebcc3c242b539b2c37a54dbae8d81255eca.zip handlebars.js-534d0ebcc3c242b539b2c37a54dbae8d81255eca.tar.gz handlebars.js-534d0ebcc3c242b539b2c37a54dbae8d81255eca.tar.bz2 |
Add test case
Diffstat (limited to 'spec/builtins.js')
-rw-r--r-- | spec/builtins.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/builtins.js b/spec/builtins.js index 4379725..a29616f 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() { |