Skip to content

Commit 7d498f5

Browse files
committed
Update test description.
1 parent e196238 commit 7d498f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎practice-tdd/count.test.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ test("should count multiple occurrences of a character", () => {
2323
// When the function is called with these inputs,
2424
// Then it should return 0, indicating that no occurrences of `char` were found.
2525

26-
test("should count multiple occurrences of a character", () => {
26+
test("should return 0 for a character with no occurrences", () => {
2727
const str = "aaaaa";
2828
const char = "b";
2929
const count = countChar(str, char);

0 commit comments

Comments
 (0)