8000 Added blank string test to repeatString · joshua-hs/javascript-exercises@5817ea2 · GitHub
[go: up one dir, main page]

Skip to content
Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5817ea2

Browse files
committed
Added blank string test to repeatString
1 parent 3758497 commit 5817ea2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

repeatString/repeatString.spec.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,7 @@ describe('repeatString', function() {
2727
was randomaly generated. */
2828
expect(repeatString('hey', number).match(/((hey))/g).length).toEqual(number);
2929
});
30+
xit('works with blank strings', function() {
31+
expect(repeatString('', 10)).toEqual('');
32+
});
3033
});

0 commit comments

Comments
 (0)
0