Skip to content

Commit e73df46

Browse files
committed
WIP: updates to repeat-str.test.js
1 parent 639af4c commit e73df46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ test("should return an empty string", () => {
3232
// When the repeatStr function is called with these inputs,
3333
// Then it should throw an error, as negative counts are not valid.
3434
test("should throw and error when count is a negative number", () => {
35-
expect(()=> repeatStr("Love", -3)).toThrow("Negative counts are not valid");
35+
expect(() => repeatStr("Love", -3)).toThrow("Negative counts are not valid");
3636
});

0 commit comments

Comments
 (0)