Skip to content

Commit cfd965b

Browse files
correcting spelling typo
1 parent fec0df1 commit cfd965b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎practice-tdd/count.test.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ test("should count multiple occurrences of a character", () => {
2727
test("should indicate no occurrences of a character", () => {
2828
const str = "abcde";
2929
const char = "f";
30-
const numberOfOcurrence = countChar(str, char);
31-
expect(numberOfOcurrence).toEqual(0);
30+
const numberOfOccurrence = countChar(str, char);
31+
expect(numberOfOccurrence).toEqual(0);
3232
});

0 commit comments

Comments
 (0)