mirror of https://github.com/docker/cli.git
f34655ecf8
- Use `require` instead of `assert` when the assumption is "breaking" for the code following. For example when asserting an error is not nil and then doing `err.Error` on it ; if `err` is nil, the test will panic instead of fail. - Use `assert.Len` when possible. The error message is better. Signed-off-by: Vincent Demeester <vincent@sbr.pm> |
||
---|---|---|
.. | ||
command | ||
compose | ||
config | ||
debug | ||
flags | ||
trust | ||
winresources | ||
cobra.go | ||
error.go | ||
required.go | ||
required_test.go | ||
version.go |