8000 Update 02_repeatString/solution/repeatString-solution.spec.js · mstottrop/javascript-exercises@9a5cdec · GitHub
[go: up one dir, main page]

Skip to content

Commit 9a5cdec

Browse files
Update 02_repeatString/solution/repeatString-solution.spec.js
Co-authored-by: Nikita Revenco <154856872+nikitarevenco@users.noreply.github.com>
1 parent 7a097ac commit 9a5cdec

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('odin', number).match(/((odin))/g).length).toEqual(
3333
number
3434
);

0 commit comments

Comments
 (0)
0