Skip to content

Commit 51060d9

Browse files
committed
fixed a testing error
1 parent c518625 commit 51060d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sprint-3/2-practice-tdd/count.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ const countChar = require("./count");
1212

1313
test("should count multiple occurrences of a character", () => {
1414
const str = "aaaaa";
15-
const char = "b";
15+
const char = "a";
1616
const count = countChar(str, char);
17-
expect(count).toEqual(3);
17+
expect(count).toEqual(5);
1818
});
1919

2020
// Scenario: No Occurrences

0 commit comments

Comments
 (0)