DockerCLI/e2e/cli-plugins
Sebastiaan van Stijn bc2b48aaf2
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>
2022-03-27 10:42:48 +02:00
..
plugins e2e: fix formatting of comments 2020-01-16 12:46:07 +01:00
testdata Replace tab with spaces in usage output 2020-10-02 15:41:17 +02:00
config_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-23 00:28:55 +01:00
dial_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-23 00:28:55 +01:00
flags_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-23 00:28:55 +01:00
help_test.go e2e: cleanup TestGlobalHelp() to be less brittle 2022-03-27 10:42:48 +02:00
main_test.go e2e: Add a TestMain for cli plugins tests 2019-04-03 15:06:34 +01:00
run_test.go Replace tab with spaces in usage output 2020-10-02 15:41:17 +02:00
util_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-23 00:28:55 +01:00