diff --git a/internal/config/config_test.go b/internal/config/config_test.go index 1dead35..4d232f7 100644 --- a/internal/config/config_test.go +++ b/internal/config/config_test.go @@ -22,8 +22,8 @@ func TestValidate(t *testing.T) { t.Log("no config") { err := Validate() - if err != nil { - t.Fatalf("Expected NO error, got (%s)", err) + if err == nil { + t.Fatal("expected error") } } }