We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7bc598 commit 4183f3bCopy full SHA for 4183f3b
Sprint-3/2-practice-tdd/get-ordinal-number.test.js
@@ -42,7 +42,7 @@ test("append 'rd' to numbers ending in 3, except those ending in 13", () => {
42
// Then the function should return "4th"
43
44
// category 4: all other numbers -> "th"
45
-test("append 'th' to all other numbers", () => {
+test("append 'th' to numbers ending in 0, 4–9, or 11–13", () => {
46
expect(getOrdinalNumber(4)).toEqual("4th");
47
expect(getOrdinalNumber(11)).toEqual("11th");
48
expect(getOrdinalNumber(12)).toEqual("12th");
0 commit comments