- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for wantAllow (0.11 sec)
-
pilot/pkg/model/authorization_test.go
result := authzPolicies.ListAuthorizationPolicies(tc.selectionOpts) if !reflect.DeepEqual(tc.wantAllow, result.Allow) { t.Errorf("wantAllow:%v\n but got: %v\n", tc.wantAllow, result.Allow) } if !reflect.DeepEqual(tc.wantDeny, result.Deny) { t.Errorf("wantDeny:%v\n but got: %v\n", tc.wantDeny, result.Deny) } if !reflect.DeepEqual(tc.wantAudit, result.Audit) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 12.7K bytes - Viewed (0) -
src/net/http/request_test.go
mux.Handle("PUT /r", h) mux.Handle("GET /r/", h) server := httptest.NewServer(mux) defer server.Close() for _, test := range []struct { method, path string wantStatus int wantAllow string }{ {"GET", "/g", 200, ""}, {"HEAD", "/g", 200, ""}, {"POST", "/g", 405, "GET, HEAD"}, {"GET", "/x", 404, ""}, {"GET", "/p", 405, "PATCH, POST"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 18:42:34 UTC 2024 - 44K bytes - Viewed (0)