Skip to content

[EXTERNAL] more-or-less Align with the exercise's test#2891

Merged
HarryVasanth merged 1 commit into01-edu:masterfrom
sadiqui:patch-9
Mar 24, 2025
Merged

[EXTERNAL] more-or-less Align with the exercise's test#2891
HarryVasanth merged 1 commit into01-edu:masterfrom
sadiqui:patch-9

Conversation

@sadiqui
Copy link
Copy Markdown
Contributor

@sadiqui sadiqui commented Feb 25, 2025

Aligns the exercise instructions with the existing tests by clarifying that more and less must take exactly one argument, while add and sub must take exactly two. This ensures students write functions that pass the enforced tests of arguments in functions signatures:

  • t(() => more.length === 1)
  • t(() => less.length === 1)
  • t(() => add.length === 2)
  • t(() => sub.length === 2)

Related PR: #2882

The tests are correct; it's the instructions that needed to be clearer to better align with them.

@HarryVasanth HarryVasanth added the 🤸 skip-check-links Skip check links label Mar 24, 2025
@HarryVasanth HarryVasanth merged commit d4c01e0 into 01-edu:master Mar 24, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🗂️ docs Documentation 🤸 skip-check-links Skip check links

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants