Skip to content

Commit c611fba

Browse files
authored
Rename test for counting character occurrences
1 parent a258022 commit c611fba

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ test("should count multiple occurrences of a character", () => {
4444
expect(count).toEqual(3);
4545
});
4646

47-
test("should count multiple occurrences of a character", () => {
47+
test("should count all occurrences of a character in a string", () => {
4848
const str = "ghost";
4949
const char = "o";
5050
const count = countChar(str, char);
5151
expect(count).toEqual(1);
52-
});
52+
});

0 commit comments

Comments
 (0)