- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestValidateHTTPRoute (0.28 sec)
-
pkg/config/validation/validation_test.go
if err := validateDestination(tc.destination); (err == nil) != tc.valid { t.Fatalf("got valid=%v but wanted valid=%v: %v", err == nil, tc.valid, err) } }) } } func TestValidateHTTPRoute(t *testing.T) { testCases := []struct { name string route *networking.HTTPRoute valid bool }{ {name: "empty", route: &networking.HTTPRoute{ // nothing
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 03:11:45 UTC 2024 - 196K bytes - Viewed (0)