Skip to content

Commit 293e98e

Browse files
authored
test the function countchar
1 parent efc78a8 commit 293e98e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ const getOrdinalNumber = require("./get-ordinal-number");
1313
// 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.
16-
1716
test("should append 'st' for numbers ending with 1, except those ending with 11", () => {
1817
expect(getOrdinalNumber(1)).toEqual("1st");
1918
expect(getOrdinalNumber(21)).toEqual("21st");

0 commit comments

Comments
 (0)