Skip to content

Commit c3eae64

Browse files
committed
modified: Sprint-3/2-practice-tdd/get-ordinal-number.test.js
1 parent 4183f3b commit c3eae64

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ test("append 'rd' to numbers ending in 3, except those ending in 13", () => {
4444
// category 4: all other numbers -> "th"
4545
test("append 'th' to numbers ending in 0, 4–9, or 11–13", () => {
4646
expect(getOrdinalNumber(4)).toEqual("4th");
47+
expect(getOrdinalNumber(10)).toEqual("10th");
4748
expect(getOrdinalNumber(11)).toEqual("11th");
4849
expect(getOrdinalNumber(12)).toEqual("12th");
4950
expect(getOrdinalNumber(13)).toEqual("13th");

0 commit comments

Comments
 (0)