- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestHeaderTooLongErr (0.12 sec)
-
src/archive/zip/zip_test.go
h := FileHeader{ Name: "foo.txt", Method: Deflate, Extra: []byte{zip64ExtraID}, // missing size and second half of tag, but Extra is best-effort parsing } testValidHeader(&h, t) } func TestHeaderTooLongErr(t *testing.T) { var headerTests = []struct { name string extra []byte wanterr error }{ { name: strings.Repeat("x", 1<<16), extra: []byte{}, wanterr: errLongName,
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.6K bytes - Viewed (0)