-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
e2e: cleanup TestGlobalHelp() to be less brittle
- remove check for "A self-sufficient runtime for containers"; really not important to check for. - don't make the checks positional (just match that we find them, and that we don't find them multiple times) - account for leading whitespace to change instead of hard-coding the number of spaces before output. - change the badopt check; I think it should be sufficient to check that the bad option was printed and that "run --help" output is printed. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
- Loading branch information
Showing
1 changed file
with
17 additions
and
43 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