DockerCLI/internal/test
Ian Campbell 8cb2456248
context: produce consistent output on `context create`.
Refactor `RunCreate` slightly so that all three paths always produce the same
output, namely the name of the new context of `stdout` (for scripting) and the
success log message on `stderr`.

Validate by extending the existing unit tests to always check the output is as
expected.

Signed-off-by: Ian Campbell <ijc@docker.com>
(cherry picked from commit ff44305c47)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-07-04 21:37:25 +02:00
..
builders Merge pull request #885 from thaJeztah/node-engine-version 2018-02-20 18:45:36 +01:00
environment connhelper: add e2e 2018-09-30 10:24:34 +09:00
network Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
notary Refactor content_trust cli/flags handling 2018-03-08 15:00:43 -05:00
output Fix 'wether'->'whether' 2018-09-07 16:26:18 +08:00
cli.go context: produce consistent output on `context create`. 2019-07-04 21:37:25 +02:00
doc.go Add TESTING document. 2017-08-24 14:45:50 -04:00
store.go Remove docker api dependency from cli/config 2019-01-31 21:25:43 +00:00
strings.go formatter package heavy refactoring 2018-10-23 17:05:44 +02:00