mirror of https://github.com/docker/cli.git
cli/config: TestLoadDefaultConfigFile: check that no warnings are printed
Loading the config should print no warnings on a successful load. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
de91207b87
commit
c80adf4e87
|
@ -352,6 +352,7 @@ func TestLoadDefaultConfigFile(t *testing.T) {
|
||||||
expected.PsFormat = "format"
|
expected.PsFormat = "format"
|
||||||
|
|
||||||
assert.Check(t, is.DeepEqual(expected, configFile))
|
assert.Check(t, is.DeepEqual(expected, configFile))
|
||||||
|
assert.Check(t, is.Equal(buffer.String(), ""))
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestConfigPath(t *testing.T) {
|
func TestConfigPath(t *testing.T) {
|
||||||
|
|
Loading…
Reference in New Issue