mirror of
https://github.com/rwinkhart/peercred-mini.git
synced 2026-10-26 19:29:56 -04:00
Remove pointless error check from test
This commit is contained in:
1 parent
dbfec3b41e
commit
933aa0680a
1 file changed
-3
@@ -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