Skip to content

Commit 091f62b

Browse files
Fix function name from repeatedStr to repeatStr
1 parent 2d01d60 commit 091f62b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sprint-3/2-practice-tdd/repeat-str.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ test("should repeat the string count of 0", () => {
4242

4343
// Case: Handle negative count:
4444
test(`should throw an error for negative count`, () => {
45-
expect(() => repeatedStr("fella", -2)).toThrowError();
45+
expect(() => repeatStr("fella", -2)).toThrowError();
4646
});
4747
// Given a target string `str` and a negative integer `count`,
4848
// When the repeatStr function is called with these inputs,

0 commit comments

Comments
 (0)