Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for parsePAX (0.04 sec)

  1. src/archive/tar/reader_test.go

    	}
    
    	for i, v := range vectors {
    		r := strings.NewReader(v.in)
    		got, err := parsePAX(r)
    		if !maps.Equal(got, v.want) && !(len(got) == 0 && len(v.want) == 0) {
    			t.Errorf("test %d, parsePAX():\ngot  %v\nwant %v", i, got, v.want)
    		}
    		if ok := err == nil; ok != v.ok {
    			t.Errorf("test %d, parsePAX(): got %v, want %v", i, ok, v.ok)
    		}
    	}
    }
    
    func TestReadOldGNUSparseMap(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