Skip to content

Commit 2128351

Browse files
committed
sprint 3.2 solution
1 parent 406890d commit 2128351

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ test("should count multiple occurrences of a character", () => {
1717
expect(count).toEqual(5);
1818
});
1919

20-
// Scenario: No Occurrences
20+
// Scenario: No Occurrences.
2121
// Given the input string `str`,
2222
// And a character `char` that does not exist within `str`.
2323
// When the function is called with these inputs,

Sprint-3/2-practice-tdd/get-ordinal-number.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const getOrdinalNumber = require("./get-ordinal-number");
1010
// into meaningful categories. Then, select representative samples from each category to test.
1111
// This approach improves coverage and makes our tests easier to maintain.
1212

13-
// Case 1: Numbers ending with 1 (but not 11)
13+
// Case 1: Numbers ending with 1 (but not 11).
1414
// When the number ends with 1, except those ending with 11,
1515
// Then the function should return a string by appending "st" to the number.
1616
test("should append 'st' for numbers ending with 1, except those ending with 11", () => {

Sprint-3/2-practice-tdd/repeat-str.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Implement a function repeatStr
1+
// Implement a function repeatStr.
22
const repeatStr = require("./repeat-str");
33
// Given a target string `str` and a positive integer `count`,
44
// When the repeatStr function is called with these inputs,

0 commit comments

Comments
 (0)