-
-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(test): move sudden death logic to Test
- Move logic for checking if a user makes a mistake during sudden death mode out of `src/main.rs` and into `src/test/mod.rs`. Note that this changes how sudden death mode works: previously, if a user made a mistake in sudden death mode, they would immediately begin a new test; now, they restart the current test.
- Loading branch information
1 parent
0818d34
commit cb4fb14
Showing
2 changed files
with
34 additions
and
34 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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