-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce cli tests calling main directly (#85855)
The main method of Command is not normally called by cli tests. Instead they call the execute helper which calls mainWithoutErrorHandling. Sometimes, though, it is desirable to test the top level behavior. This commit cleans up the base class tests to not call main directly. This will help with future refactorings to change the signature of main, so that less uses need to be changed.
- Loading branch information
Showing
5 changed files
with
113 additions
and
177 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
Oops, something went wrong.