- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestHeaderConversion (0.16 sec)
-
pkg/probe/http/request_test.go
if got := v1HeaderToHTTPHeader(tt.headerList); !reflect.DeepEqual(got, tt.want) { t.Errorf("v1HeaderToHTTPHeader() = %v, want %v", got, tt.want) } }) } } func TestHeaderConversion(t *testing.T) { testCases := []struct { headers []v1.HTTPHeader expected http.Header }{ { []v1.HTTPHeader{ { Name: "Accept", Value: "application/json", },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 16 05:05:36 UTC 2023 - 3.3K bytes - Viewed (0)