fix(test): correct step 170 hint to describe variable assignment - #45
Open
TexasAppz wants to merge 1 commit into
Open
fix(test): correct step 170 hint to describe variable assignment#45TexasAppz wants to merge 1 commit into
TexasAppz wants to merge 1 commit into
Conversation
Step 170 only asks the camper to create the QUESTION1 variable, but its test description referenced echoing, matching 180.test.js. Aligned with the wording used by equivalent variable-creation steps (230, 340, 730). Signed-off-by: Jaime <jaimiho@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes freeCodeCamp/freeCodeCamp#67605
Step 170 asks the camper only to create the
QUESTION1variable. Its testdescription, which is surfaced to campers as the hint on failure, reads
should "echo" the suggested variable correctly— identical to thedescription in 180.test.js, the step that actually asks for the
echo.A camper who mistypes at step 170 is therefore told about an
echostatement the step never asked for.
The test logic is correct and unchanged;
appendAndRunsupplies theechointernally to read the variable's value. Only the description isupdated, matching the wording already used by the equivalent
variable-creation steps 230, 340, and 730
("should have the suggested variable added correctly").