Skip to content

Commit 49f7123

Browse files
Update test to repeat string three times
1 parent 091f62b commit 49f7123

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
@@ -11,7 +11,7 @@ const repeatStr = require("./repeat-str");
1111

1212
test("should repeat the string count times", () => {
1313
const str = "hello";
14-
const count = -5;
14+
const count = 3;
1515
const repeatedStr = repeatStr(str, count);
1616
expect(repeatedStr).toEqual("hellohellohello");
1717
});

0 commit comments

Comments
 (0)