- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestStatusIsNot (0.34 sec)
-
staging/src/k8s.io/apiserver/pkg/server/httplog/httplog_test.go
t.Fatalf("should not log on %v by default", x) } } for _, x := range []int{500, 100} { if !DefaultStacktracePred(x) { t.Fatalf("should log on %v by default", x) } } } func TestStatusIsNot(t *testing.T) { statusTestTable := []struct { status int statuses []int want bool }{ {http.StatusOK, []int{}, true}, {http.StatusOK, []int{http.StatusOK}, false},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 05 18:05:09 UTC 2021 - 6.2K bytes - Viewed (0)