Minor tweak to the test case.

This commit is contained in:
Ziang Song 2013-02-15 14:59:48 -05:00
commit bb14481e83

View file

@ -45,7 +45,7 @@ describe('Kiwi.compose', function() {
expect(Kiwi.compose(input, ["rate"])).toEqual(result);
});
it('should add empty string when size of the array is larger than the placeholders.', function() {
it('should use an empty string when size of the array less fits the placeholders.', function() {
var input = "The quick brown % jumps % the lazy %.";
var result = "The quick brown fox jumps over the lazy .";
expect(Kiwi.compose(input, ["fox", "over"])).toEqual(result);