Skip to content

Commit 3c050ab

Browse files
author
Dias, Diego
committed
Covered sprint 3 tests supporting
1 parent d6d1d7e commit 3c050ab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const countChar = require("./count");
1111
// Then it should correctly count overlapping occurrences of char (e.g., 'a' appears five times in 'aaaaa').
1212

1313
test("should count multiple occurrences of a character", () => {
14-
const str = "aaaaa";
14+
const str = "aaaaaa";
1515
const char = "a";
1616
const count = countChar(str, char);
1717
expect(count).toEqual(5);

Sprint-3/3-stretch/password-validator.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ To be valid, a password must:
1515
You must breakdown this problem in order to solve it. Find one test case first and get that working
1616
*/
1717
const isValidPassword = require("./password-validator");
18-
test("password has at least 5 characters", () => {
18+
test("password has at least 5 characters.", () => {
1919
// Arrange
2020
const password = "12345";
2121
// Act

0 commit comments

Comments
 (0)