Skip to content

Commit 40e4444

Browse files
authored
Update test description for character count function
1 parent ba5f17d commit 40e4444

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sprint-3/2-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("no occurrences of character in string", () => {
26+
test("should return '0' when there is no occurrences of character in string", () => {
2727
const str = "little"
2828
const char = "b"
2929
const count = countChar(str, char);

0 commit comments

Comments
 (0)