Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. staging/src/k8s.io/apimachinery/pkg/util/net/http_test.go

    			actual := make([]string, len(actualIPs))
    			for i, ip := range actualIPs {
    				actual[i] = ip.String()
    			}
    
    			assert.Equal(t, test.expected, actual)
    		})
    	}
    }
    
    func TestParseWarningHeader(t *testing.T) {
    	tests := []struct {
    		name string
    
    		header string
    
    		wantResult    WarningHeader
    		wantRemainder string
    		wantErr       string
    	}{
    		// invalid cases
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 18 01:21:56 UTC 2023
    - 24.5K bytes
    - Viewed (0)
Back to top