Skip to content

Conversation

meatball133
Copy link
Member

Branched of #1792, update the exercise to be up to spec with problem spec. Adds tests for higher numbers.

Copy link
Contributor

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!


def label
"Resistor value: #{to_s}"
"Resistor value: #{self}"
Copy link
Member

Choose a reason for hiding this comment

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

So much better!

@kotp
Copy link
Member

kotp commented Sep 29, 2025

Branched of #1792, update the exercise to be up to spec with problem spec. Adds tests for higher numbers.

Should we add "and adds template"? Otherwise, I would expect the update for the spec but not the template.

@kotp
Copy link
Member

kotp commented Sep 29, 2025

Branched of #1792, update the exercise to be up to spec with problem spec. Adds tests for higher numbers.

Should we add "and adds template"? Otherwise, I would expect the update for the spec but not the template.

On further thought, and given the reason for this was so that "one could be reverted..." including the template here is causing the same concern. The template should be done in the other PR where templates are done.

@meatball133
Copy link
Member Author

I will remove the template but I will still keep the updated test file, since I think that is what you are meaning

@kotp kotp merged commit f714991 into main Sep 30, 2025
5 checks passed
@kotp kotp deleted the update-resistor-color-trio branch September 30, 2025 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants