Commit c58b6e5a authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

UnionFs: fix mkdir test

parent 1830098f
......@@ -275,7 +275,7 @@ func TestMemUnionFsMkdir(t *testing.T) {
CheckSuccess(err)
r := ufs.Reap()
if len(r) > 2 || r[""] == nil || r["subdir"] == nil {
if len(r) > 2 || r[""] == nil || r["subdir"] != nil {
t.Errorf("expect 1 file reap result: %v", r)
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment