From c80adf4e87e1034c3bba977c707a33dbed94ba32 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Thu, 16 May 2024 16:05:32 +0200 Subject: [PATCH] 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 --- cli/config/config_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cli/config/config_test.go b/cli/config/config_test.go index 45f2a66a69..ceb96f4d51 100644 --- a/cli/config/config_test.go +++ b/cli/config/config_test.go @@ -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) {