Skip to content

fix(test): correct step 170 hint to describe variable assignment - #45

Open
TexasAppz wants to merge 1 commit into
freeCodeCamp:v2.0.0from
TexasAppz:v2.0.0
Open

fix(test): correct step 170 hint to describe variable assignment#45
TexasAppz wants to merge 1 commit into
freeCodeCamp:v2.0.0from
TexasAppz:v2.0.0

Conversation

@TexasAppz

Copy link
Copy Markdown

Closes freeCodeCamp/freeCodeCamp#67605

Step 170 asks the camper only to create the QUESTION1 variable. Its test
description, which is surfaced to campers as the hint on failure, reads
should "echo" the suggested variable correctly — identical to the
description in 180.test.js, the step that actually asks for the echo.
A camper who mistypes at step 170 is therefore told about an echo
statement the step never asked for.

The test logic is correct and unchanged; appendAndRun supplies the
echo internally to read the variable's value. Only the description is
updated, matching the wording already used by the equivalent
variable-creation steps 230, 340, and 730
("should have the suggested variable added correctly").

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>
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.

1 participant