Remove redundant methods

This commit is contained in:
2025-04-05 15:17:24 -04:00
parent dcf2844318
commit d116525c2b
8 changed files with 16 additions and 29 deletions
+2 -2
View File
@@ -50,7 +50,7 @@ func TestUnixSock(t *testing.T) {
t.Fatalf("Get: %v", err)
}
uid := creds.UID()
uid := creds.UID
if uid == "" {
t.Errorf("no UID")
}
@@ -58,7 +58,7 @@ func TestUnixSock(t *testing.T) {
t.Errorf("UID = %q; want %q", got, want)
}
pid := creds.PID()
pid := creds.PID
if pid == 0 {
t.Errorf("no PID")
}