update unit test

This commit is contained in:
yincong 2025-01-13 18:00:25 +08:00
parent 4147c27f7c
commit d68d049b13
No known key found for this signature in database
GPG Key ID: D37F4B83EDFE5B0F
1 changed files with 3 additions and 0 deletions

View File

@ -642,6 +642,9 @@ func TestWriterAddFS(t *testing.T) {
t.Fatal(err)
}
for i, wt := range tests {
if wt.Mode.IsDir() {
wt.Name += "/"
}
testReadFile(t, r.File[i], &wt)
}
}