Skip to content

Commit 9b54862

Browse files
fixed typo in get-ordinal-number file
1 parent debcf2a commit 9b54862

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ test("should append 'st' for numbers ending with 1, except those ending with 11"
2424
test("should append 'nd' for numbers ending with 2, except those ending with 12", () => {
2525
expect(getOrdinalNumber(2)).toEqual("2nd");
2626
expect(getOrdinalNumber(22)).toEqual("22nd");
27-
expect(getOrdinalNumber(102)).toEqual("102");
27+
expect(getOrdinalNumber(102)).toEqual("102nd");
2828
});
2929

3030
// Case 3: Numbers ending with 3 (but NOT 13)

0 commit comments

Comments
 (0)