Added blank string test to repeatString
This commit is contained in:
parent
3758497cb2
commit
5817ea2140
|
@ -27,4 +27,7 @@ describe('repeatString', function() {
|
||||||
was randomaly generated. */
|
was randomaly generated. */
|
||||||
expect(repeatString('hey', number).match(/((hey))/g).length).toEqual(number);
|
expect(repeatString('hey', number).match(/((hey))/g).length).toEqual(number);
|
||||||
});
|
});
|
||||||
|
xit('works with blank strings', function() {
|
||||||
|
expect(repeatString('', 10)).toEqual('');
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue