- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestWithLogging (0.1 sec)
-
staging/src/k8s.io/apiserver/pkg/server/httplog/httplog_test.go
} for _, tt := range statusTestTable { sp := StatusIsNot(tt.statuses...) got := sp(tt.status) if got != tt.want { t.Errorf("Expected %v, got %v", tt.want, got) } } } func TestWithLogging(t *testing.T) { req, err := http.NewRequest("GET", "http://example.com", nil) if err != nil { t.Errorf("Unexpected error: %v", err) } shouldLogRequest := func() bool { return true }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 05 18:05:09 UTC 2021 - 6.2K bytes - Viewed (0)