Skip to content

Sheffield | 26-Jan-ITP | Daniel Aderibigbe | Sprint 3 | Practice tdd #1202

Open
Dan2Clouted wants to merge 5 commits intoCodeYourFuture:mainfrom
Dan2Clouted:coursework/sprint-3-practice-tdd-clean
Open

Sheffield | 26-Jan-ITP | Daniel Aderibigbe | Sprint 3 | Practice tdd #1202
Dan2Clouted wants to merge 5 commits intoCodeYourFuture:mainfrom
Dan2Clouted:coursework/sprint-3-practice-tdd-clean

Conversation

@Dan2Clouted
Copy link

Learners, PR Template

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Changelist

Completed Practice tdd

@Dan2Clouted Dan2Clouted added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Mar 6, 2026
Copy link
Contributor

@cjyuan cjyuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code is good.

You missed updating get-oridinal-number.test.js.

@cjyuan cjyuan added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Mar 12, 2026
@Dan2Clouted Dan2Clouted added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Mar 12, 2026
@Dan2Clouted
Copy link
Author

Ah yes, I have updated it now.

@Dan2Clouted
Copy link
Author

I have updated the test description to make the category of numbers clearer.

Copy link
Contributor

@cjyuan cjyuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good. Well done!

});

test("should append 'th' for all other numbers", () => {
test("should append 'th' for numbers that do not end in 1, 2, or 3, and are not 11, 12, or 13", () => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could also directly express the trailing digits in this group.

@cjyuan cjyuan added Complete Volunteer to add when work is complete and all review comments have been addressed. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Reviewed Volunteer to add when completing a review with trainee action still to take. labels Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Complete Volunteer to add when work is complete and all review comments have been addressed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants