Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestIssue11146 (0.13 sec)

  1. src/archive/zip/reader_test.go

    		t.Errorf("got nil error, want ErrFormat")
    	}
    	if r != nil {
    		t.Errorf("got non-nil Reader, want nil")
    	}
    }
    
    // Verify we return ErrUnexpectedEOF when reading truncated data descriptor.
    func TestIssue11146(t *testing.T) {
    	data := []byte("PK\x03\x040000000000000000" +
    		"000000\x01\x00\x00\x000\x01\x00\x00\xff\xff0000" +
    		"0000000000000000PK\x01\x02" +
    		"0000\b0\b\x00000000000000" +
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 55.6K bytes
    - Viewed (0)
Back to top