- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for wantMatches (0.13 sec)
-
src/net/http/routing_tree_test.go
t.Errorf("%s, %s, %s: got %q, want %q", test.host, test.method, test.path, got, test.wantPat) } if !slices.Equal(gotMatches, test.wantMatches) { t.Errorf("%s, %s, %s: got matches %v, want %v", test.host, test.method, test.path, gotMatches, test.wantMatches) } } } test(getTestTree(), []testCase{ {"GET", "", "/a", "/a", nil}, {"Get", "", "/b", "", nil},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 30 15:43:24 UTC 2024 - 7K bytes - Viewed (0) -
pkg/kubelet/kubelet_node_status_test.go
assert.Equal(t, tc.wantPatches, patchCount) actions := kubeClient.Actions() if tc.wantPatches == 0 { require.Len(t, actions, 0) return } // patch, then patch, get, patch, get, patch, ... up to initial patch + nodeStatusUpdateRetry patches expectedActions := 2*tc.wantPatches - 2 if tc.wantPatches == 1 { expectedActions = 1 }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 08 19:23:19 UTC 2024 - 115.8K bytes - Viewed (0)