Skip to content

Fix typo in language-list (phpunit test) [no important files changed]#972

Merged
mk-mxp merged 2 commits into
exercism:mainfrom
resu-xuniL:main
May 25, 2026
Merged

Fix typo in language-list (phpunit test) [no important files changed]#972
mk-mxp merged 2 commits into
exercism:mainfrom
resu-xuniL:main

Conversation

@resu-xuniL

Copy link
Copy Markdown
Contributor

This pull request fix a typo in LanguageListTest.php
[no important files changed]

[no important files changed]
@github-actions

Copy link
Copy Markdown

This PR touches files which potentially affect the outcome of the tests of an exercise. This will cause all students' solutions to affected exercises to be re-tested.

If this PR does not affect the result of the test (or, for example, adds an edge case that is not worth rerunning all tests for), please add the following to the merge-commit message which will stops student's tests from re-running. Please copy-paste to avoid typos.

[no important files changed]

For more information, refer to the documentation. If you are unsure whether to add the message or not, please ping @exercism/maintainers-admin in a comment. Thank you!

@mk-mxp mk-mxp left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for pointing this out!

* @task_id 4
*/
#[TestDox('when pushing, original is unchanged')]
#[TestDox('when removing, original is unchanged')]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It's better to use the actual function verb 'prune' here, as the list is emptied out completely and not only some things are removed:

Suggested change
#[TestDox('when removing, original is unchanged')]
#[TestDox('when pruning, original is unchanged')]

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I have hesitated ... (I am not English native).
Thanks for pointing this.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No worries, I'm not a native English speaker, too.

@mk-mxp mk-mxp added x:action/fix Fix an issue x:knowledge/none No existing Exercism knowledge required x:module/concept-exercise Work on Concept Exercises x:type/content Work on content (e.g. exercises, concepts) x:size/tiny Tiny amount of work x:rep/tiny Tiny amount of reputation labels May 25, 2026
@mk-mxp mk-mxp merged commit 7241688 into exercism:main May 25, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

x:action/fix Fix an issue x:knowledge/none No existing Exercism knowledge required x:module/concept-exercise Work on Concept Exercises x:rep/tiny Tiny amount of reputation x:size/tiny Tiny amount of work x:type/content Work on content (e.g. exercises, concepts)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants