Added the test case for empty string.

This commit is contained in:
Ziang Song 2013-02-15 12:53:39 -05:00
commit b6f3c78772

View file

@ -1,4 +1,9 @@
describe('Kiwi.compose', function() {
it('should return the empty when input is empty',function() {
var input = "";
expect(Kiwi.compose(input)).toEqual(input);
});
it('should return the input string',function() {
var input = "text without interpolation";
expect(Kiwi.compose(input)).toEqual(input);