22)
23
24▶func TestOver65kFiles(t *testing.T) {
25 if testing.Short() && testenv.Builder() == "" {
26 t.Skip("skipping in short mode")
· · ·
57}
58
59▶func TestModTime(t *testing.T) {
60 var testTime = time.Date(2009, time.November, 10, 23, 45, 58, 0, time.UTC)
61 fh := new(FileHeader)
· · ·
67}
68
69▶func testHeaderRoundTrip(fh *FileHeader, wantUncompressedSize uint32, wantUncompressedSize64 uint64, t *testing.T) {
70 fi := fh.FileInfo()
71 fh2, err := FileInfoHeader(fi)
· · ·
94}
95
96▶func TestFileHeaderRoundTrip(t *testing.T) {
97 fh := &FileHeader{
98 Name: "foo.txt",
· · ·
104}
105
106▶func TestFileHeaderRoundTrip64(t *testing.T) {
107 fh := &FileHeader{
108 Name: "foo.txt",
+ 55 more matches in this file