Skip to content
This repository has been archived by the owner on Apr 11, 2018. It is now read-only.

Commit

Permalink
Add test to show null values do not print [object object]
Browse files Browse the repository at this point in the history
Closes gh-474
  • Loading branch information
paularmstrong committed Jul 3, 2014
1 parent 948a47f commit 3bdf71c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/variables.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ var cases = {
{ c: '{{ ap === "apples" }}', e: 'true' },
{ c: '{{ not a }}', e: 'false' },
{ c: '{{ a <= 4 }}', e: 'true' }
],
'null objects': [
{ c: '{{ n }}', e: '' }
]
};

Expand Down

0 comments on commit 3bdf71c

Please sign in to comment.