Skip to content

Commit dda4bf7

Browse files
committed
Change the input of a test to be smaller
1 parent de7f533 commit dda4bf7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sprint-3/2-practice-tdd/count.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ test("should count multiple occurrences of a character", () => {
2424
// Then it should return 0, indicating that no occurrences of `char` were found.
2525
test("should not find any occurrences", () => {
2626
const str = "aaaaaaaa";
27-
const char = "something";
27+
const char = "b";
2828

2929
const count = countChar(str, char);
3030
expect(count).toEqual(0);

0 commit comments

Comments
 (0)