We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29320b5 commit 3266bbcCopy full SHA for 3266bbc
1 file changed
Sprint-3/2-practice-tdd/count.test.js
@@ -35,7 +35,7 @@ test("should return 0 when character does not appear in string", () => {
35
// Then it should return 1.
36
test("should return 1 when character appears exactly once", () => {
37
expect(countChar("hello", "h")).toEqual(1);
38
- expect(countChar("banana", "n")).toEqual(1);
+ expect(countChar("test", "e")).toEqual(1);
39
expect(countChar("xyz", "y")).toEqual(1);
40
});
41
0 commit comments