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 4183f3b commit c3eae64Copy full SHA for c3eae64
Sprint-3/2-practice-tdd/get-ordinal-number.test.js
@@ -44,6 +44,7 @@ test("append 'rd' to numbers ending in 3, except those ending in 13", () => {
44
// category 4: all other numbers -> "th"
45
test("append 'th' to numbers ending in 0, 4–9, or 11–13", () => {
46
expect(getOrdinalNumber(4)).toEqual("4th");
47
+ expect(getOrdinalNumber(10)).toEqual("10th");
48
expect(getOrdinalNumber(11)).toEqual("11th");
49
expect(getOrdinalNumber(12)).toEqual("12th");
50
expect(getOrdinalNumber(13)).toEqual("13th");
0 commit comments