comment change from t.Fatal to panic

This commit is contained in:
Lucas Severo Alves
2023-01-24 21:49:24 +01:00
parent 096d2e5895
commit 6a06b63554
2 changed files with 3 additions and 2 deletions

View File

@@ -152,7 +152,7 @@ func StartTestServer(ctx context.Context, customFlags []string) (result TestServ
return result, nil
}
// StartTestServerOrDie calls StartTestServer t.Fatal if it does not succeed.
// StartTestServerOrDie calls StartTestServer panic if it does not succeed.
func StartTestServerOrDie(ctx context.Context, flags []string) *TestServer {
result, err := StartTestServer(ctx, flags)
if err == nil {