mirror of https://github.com/golang/go.git
update unit test
This commit is contained in:
parent
4147c27f7c
commit
d68d049b13
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue