Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestFormatPAXRecord (0.19 sec)

  1. src/archive/tar/strconv_test.go

    				v.in, key, val, v.wantKey, v.wantVal)
    		}
    		if res != v.wantRes {
    			t.Errorf("parsePAXRecord(%q): got residual %q, want residual %q",
    				v.in, res, v.wantRes)
    		}
    	}
    }
    
    func TestFormatPAXRecord(t *testing.T) {
    	medName := strings.Repeat("CD", 50)
    	longName := strings.Repeat("AB", 100)
    
    	vectors := []struct {
    		inKey string
    		inVal string
    		want  string
    		ok    bool
    	}{
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 09 05:28:50 GMT 2021
    - 14K bytes
    - Viewed (0)
Back to top