2
0

Fix typo in string.Cut refactor

This commit is contained in:
Jack Christensen
2023-10-07 09:20:28 -05:00
parent 24ed0e4257
commit 91530db629
+1 -1
View File
@@ -2410,7 +2410,7 @@ func TestFatalErrorReceivedAfterCommandComplete(t *testing.T) {
}
}()
host, port, _ := strings.cut(ln.Addr().String(), ":")
host, port, _ := strings.Cut(ln.Addr().String(), ":")
connStr := fmt.Sprintf("sslmode=disable host=%s port=%s", host, port)
ctx, cancel = context.WithTimeout(ctx, 5*time.Second)