diff --git a/config/config_test.go b/config/config_test.go index 96a4133..536a114 100644 --- a/config/config_test.go +++ b/config/config_test.go @@ -64,7 +64,9 @@ func TestConfigFrom(t *testing.T) { defConfig, err := common.NewConfigFrom(DefaultConfig) cfg, err = common.MergeConfigs(defConfig, cfg) - t.Error(err) + if err != nil { + t.Fatalf(err.Error()) + } }) }