- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestInvalidFiles (0.09 sec)
-
src/archive/zip/reader_test.go
mode := f.Mode() if want == 0 { t.Errorf("%s mode: got %v, want none", f.Name, mode) } else if mode != want { t.Errorf("%s mode: want %v, got %v", f.Name, want, mode) } } func TestInvalidFiles(t *testing.T) { const size = 1024 * 70 // 70kb b := make([]byte, size) // zeroes _, err := NewReader(bytes.NewReader(b), size) if err != ErrFormat {
Registered: Tue Oct 29 11:13:09 UTC 2024 - Last Modified: Thu Jul 25 00:25:45 UTC 2024 - 55.6K bytes - Viewed (0)