Skip to content

Commit 11f50bb

Browse files
committed
added empty string for count.test.js
1 parent 1a4e9e0 commit 11f50bb

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
@@ -38,8 +38,8 @@ test("should count multiple occurrences of a character which char only exist in
3838
expect(count).toEqual(3);
3939
});
4040

41-
test("should count no occurrences of a character which str with different char", () => {
42-
const str = "codeyourfuture";
41+
test("should count no occurrences of no submission for str", () => {
42+
const str = "";
4343
const char = "q";
4444
const count = countChar(str, char);
4545
expect(count).toEqual(0);

0 commit comments

Comments
 (0)