Skip to content

Commit b6cede5

Browse files
committed
updated the test description
1 parent dcb6554 commit b6cede5

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
@@ -27,7 +27,7 @@ test("should append 'th' for numbers ending with 11, 12, and 13", () => {
2727
expect(getOrdinalNumber(113)).toEqual("113th");
2828
});
2929

30-
test("should append 'th' for all other numbers", () => {
30+
test("should append 'th' for numbers that do not end in 1, 2, or 3, and are not 11, 12, or 13", () => {
3131
expect(getOrdinalNumber(4)).toEqual("4th");
3232
expect(getOrdinalNumber(10)).toEqual("10th");
3333
expect(getOrdinalNumber(20)).toEqual("20th");

0 commit comments

Comments
 (0)