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:
Sebastiaan van Stijn 2024-05-16 16:05:32 +02:00
parent de91207b87
commit c80adf4e87
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
1 changed files with 1 additions and 0 deletions

View File

@ -352,6 +352,7 @@ func TestLoadDefaultConfigFile(t *testing.T) {
expected.PsFormat = "format"
assert.Check(t, is.DeepEqual(expected, configFile))
assert.Check(t, is.Equal(buffer.String(), ""))
}
func TestConfigPath(t *testing.T) {