werc/store_test.go
2015-07-18 20:22:38 -07:00

22 lines
292 B
Go

package main
import (
"testing"
)
func TestZipStore(t *testing.T) {
file := "fixtures/site.zip"
zs, err := openZipStore(file)
if err != nil {
t.Error(err)
return
}
ls, err := zs.ReadDir("site/foo/")
if err != nil {
t.Error(err)
return
}
t.Logf("file %v", ls[0].Name())
}