mirror of
https://github.com/rwinkhart/peercred-mini.git
synced 2026-08-27 20:36:30 -04:00
Remove pointless error check from test
This commit is contained in:
@@ -46,9 +46,6 @@ func TestUnixSock(t *testing.T) {
|
||||
defer c.Close()
|
||||
|
||||
creds := Get(c)
|
||||
if err != nil {
|
||||
t.Fatalf("Get: %v", err)
|
||||
}
|
||||
|
||||
uid := creds.UID
|
||||
if uid == "" {
|
||||
|
||||
Reference in New Issue
Block a user