Skip to content

Commit 5f7e20f

Browse files
Merge pull request #426 from kennotfindsymbol/patch-1
02_repeatString/solution/repeatString-solution.spec.js: Fix typo
2 parents b8b1ae4 + e7f5d91 commit 5f7e20f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

02_repeatString/solution/repeatString-solution.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ describe('repeatString', () => {
2828
const number = Math.floor(Math.random() * 1000);
2929
/*The .match(/((hey))/g).length is a regex that will count the number of heys
3030
in the result, which if your function works correctly will equal the number that
31-
was randomaly generated. */
31+
was randomly generated. */
3232
expect(repeatString('hey', number).match(/((hey))/g).length).toEqual(
3333
number
3434
);

0 commit comments

Comments
 (0)