mirror of
https://github.com/rwinkhart/peercred-mini.git
synced 2026-09-05 08:37:29 -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()
|
defer c.Close()
|
||||||
|
|
||||||
creds := Get(c)
|
creds := Get(c)
|
||||||
if err != nil {
|
|
||||||
t.Fatalf("Get: %v", err)
|
|
||||||
}
|
|
||||||
|
|
||||||
uid := creds.UID
|
uid := creds.UID
|
||||||
if uid == "" {
|
if uid == "" {
|
||||||
|
|||||||
Reference in New Issue
Block a user