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