Skip to content

Commit 4183f3b

Browse files
committed
fixed description for category 4
1 parent c7bc598 commit 4183f3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ test("append 'rd' to numbers ending in 3, except those ending in 13", () => {
4242
// Then the function should return "4th"
4343

4444
// category 4: all other numbers -> "th"
45-
test("append 'th' to all other numbers", () => {
45+
test("append 'th' to numbers ending in 0, 4–9, or 11–13", () => {
4646
expect(getOrdinalNumber(4)).toEqual("4th");
4747
expect(getOrdinalNumber(11)).toEqual("11th");
4848
expect(getOrdinalNumber(12)).toEqual("12th");

0 commit comments

Comments
 (0)