Flip boolean logic
parent
b5f1cf80a5
commit
318f9f2b75
|
@ -83,7 +83,7 @@ func TestChangeNoneUser(t *testing.T) {
|
|||
t.Errorf("stat(%s): %v", p, err)
|
||||
continue
|
||||
}
|
||||
if info == nil && info.Sys() == nil {
|
||||
if info == nil || info.Sys() == nil {
|
||||
t.Errorf("nil info for %s", p)
|
||||
continue
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue