Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestMergePAX (0.06 sec)

  1. src/archive/tar/reader_test.go

    		hdr1, hdr2 := hdrs[i+0], hdrs[i+8]
    		hdr1.Size, hdr2.Size = 0, 0
    		if !reflect.DeepEqual(*hdr1, *hdr2) {
    			t.Errorf("incorrect header:\ngot  %+v\nwant %+v", *hdr1, *hdr2)
    		}
    	}
    }
    
    func TestMergePAX(t *testing.T) {
    	vectors := []struct {
    		in   map[string]string
    		want *Header
    		ok   bool
    	}{{
    		in: map[string]string{
    			"path":  "a/b/c",
    			"uid":   "1000",
    			"mtime": "1350244992.023960108",
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
Back to top