8000 Merge pull request #521 from bhagyeshsp/patch-3 · 10h30/odin-javascript-exercises@fd555e3 · GitHub
[go: up one dir, main page]

Skip to content

Commit fd555e3

Browse files
authored
Merge pull request TheOdinProject#521 from bhagyeshsp/patch-3
02_repeatString/solution - Line-32, replace "odin" with "hey"
2 parents e10d52c + 598ab5c commit fd555e3

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
@@ -29,7 +29,7 @@ describe('repeatString', () => {
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
3131
was randomly generated. */
32-
expect(repeatString('odin', number).match(/((odin))/g). 5012 length).toEqual(
32+
expect(repeatString('hey', number).match(/((hey))/g).length).toEqual(
3333
number
3434
);
3535
});

0 commit comments

Comments
 (0)
0