提交 318f9f2b 编写于 作者: T Thomas Stromberg

Flip boolean logic

上级 b5f1cf80
......@@ -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
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册