fix tests

This commit is contained in:
codeskyblue
2016-07-30 09:31:00 +08:00
parent 231e883706
commit d36e81e1e5
5 changed files with 64 additions and 6 deletions

View File

@@ -7,7 +7,7 @@ import (
func TestExtractFromZip(t *testing.T) {
buf := bytes.NewBuffer(nil)
err := ExtractFromZip("testdata/test.zip", "*/foo.txt", buf)
err := ExtractFromZip("testdata/test.zip", "**/foo.txt", buf)
if err != nil {
t.Fatal(err)
}