8000 Merge pull request #505 from bhagyeshsp/patch-1 · rokuruby/javascript-exercises@e10d52c · GitHub 8000
[go: up one dir, main page]

Skip to content

Commit e10d52c

Browse files
authored
Merge pull request TheOdinProject#505 from bhagyeshsp/patch-1
02_repeatString - Line-32, replace "odin" with "hey"
2 parents 0da5ad2 + 2861e62 commit e10d52c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

02_repeatString/repeatString.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).length).toEqual(number);
32+
expect(repeatString('hey', number).match(/((hey))/g).length).toEqual(number);
3333
});
3434
test.skip('works with blank strings', () => {
3535
expect(repeatString('', 10)).toEqual('');

0 commit comments

Comments
 (0)
0