Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestHeaderInvalidTagAndSize (0.43 sec)

  1. src/archive/zip/zip_test.go

    		t.Fatalf("got %q/%d/%d expected %q/%d/%d", zh.Name, zh.Method, zh.UncompressedSize64, h.Name, h.Method, len("hi"))
    	}
    }
    
    // Issue 4302.
    func TestHeaderInvalidTagAndSize(t *testing.T) {
    	const timeFormat = "20060102T150405.000.txt"
    
    	ts := time.Now()
    	filename := ts.Format(timeFormat)
    
    	h := FileHeader{
    		Name:   filename,
    		Method: Deflate,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
Back to top