Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for mergePAX (0.08 sec)

  1. src/archive/tar/reader_test.go

    			},
    		},
    		ok: true,
    	}}
    
    	for i, v := range vectors {
    		got := new(Header)
    		err := mergePAX(got, v.in)
    		if v.ok && !reflect.DeepEqual(*got, *v.want) {
    			t.Errorf("test %d, mergePAX(...):\ngot  %+v\nwant %+v", i, *got, *v.want)
    		}
    		if ok := err == nil; ok != v.ok {
    			t.Errorf("test %d, mergePAX(...): got %v, want %v", i, ok, v.ok)
    		}
    	}
    }
    
    func TestParsePAX(t *testing.T) {
    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