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 9f0252c commit 3e58914Copy full SHA for 3e58914
1 file changed
Sprint-3/2-practice-tdd/get-ordinal-number.test.js
@@ -40,7 +40,7 @@ describe("getOrdinalNumber", () => {
40
expect(getOrdinalNumber(3)).toEqual("3rd");
41
expect(getOrdinalNumber(33)).toEqual("33rd");
42
});
43
- test("appends th for all other numbers", () => {
+ test("appends th for numbers ending in 0 or 4–9", () => {
44
expect(getOrdinalNumber(20)).toEqual("20th");
45
expect(getOrdinalNumber(24)).toEqual("24th");
46
expect(getOrdinalNumber(100)).toEqual("100th");
0 commit comments