The following test fails as of rustc 1.67.0 (but passes using 1.66.0):
integration::app::tutorial::restart
This failure does in fact identify a regression, which can be reproduced as follows:
tutorial
Follow the tutorial until you reach either the step entitled Tutorial: Saving Locations or Tutorial: Generating Characters. The bug does not reproduce from any other step.
about (or any other non-tutorial command)
restart
Follow the tutorial again until you reach the step entitled Tutorial: Viewing Alternatives.
Type the NPC's name when prompted (or any other from the list of alternatives). Observe that instead of showing you that NPC's profile, you receive an "unknown command" error.
When this bug is resolved, remove the #[ignored] annotation from the test.
Stretch goal for this ticket: after running restart, the restart boilerplate ("the tutorial is still active") appears at the bottom of the introduction text. It should be fixed to only appear when running commands that do not advance the tutorial.
Okay, I'm removing that "good first issue" tag, because the test does in fact identify a real bug. And holy heck is that ever not a bug that I would've found without automated testing.
The following test fails as of rustc 1.67.0 (but passes using 1.66.0):
integration::app::tutorial::restart
This failure does in fact identify a regression, which can be reproduced as follows:
tutorial
about
(or any other non-tutorial command)restart
When this bug is resolved, remove the
#[ignored]
annotation from the test.Stretch goal for this ticket: after running
restart
, the restart boilerplate ("the tutorial is still active") appears at the bottom of the introduction text. It should be fixed to only appear when running commands that do not advance the tutorial.