Closed CamilleMo closed 7 months ago
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!
Thank you for contributing to exercism/elixir
💜 🎉. This is an automated PR comment 🤖 for the maintainers of this repository that helps with the PR review process. You can safely ignore it and wait for a maintainer to review your changes.
Based on the files changed in this PR, it would be good to pay attention to the following details when reviewing the PR:
General steps
x:size/{tiny,small,medium,large,massive}
)? (A medium reputation amount is awarded by default, see docs)Any exercise changed
<exercise>/.meta/config.json
(see docs)?<exercise>/.meta/design.md
) need to be updated to document new implementation decisions?Concept exercise changed
prerequisites
and practices
in config.json
need to be updated?Concept exercise tests changed
@tag task_id
?Automated comment created by PR Commenter 🤖.
This change goes against the intention of the test. The test is named:
"it inspects the character map"
There is already another test that tests that the questions are printed:
test "it asks for name, class, and level" do
io =
capture_io("Susan The Fearless\nfighter\n6\n", fn ->
RPG.CharacterSheet.run()
end)
assert io =~ """
Welcome! Let's fill out your character sheet together.
What is your character's name?
What is your character's class?
What is your character's level?
"""
end
This fix adds all the IO that are displayed when the CharacterSheet.run() function is called