- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for haveNames (0.09 sec)
-
src/internal/syscall/windows/registry/registry_test.go
names, err := k.ReadValueNames() if err != nil { t.Error(err) return } haveNames := make(map[string]bool) for _, n := range names { haveNames[n] = false } for _, test := range ValueTests { wantFound := !test.WillFail _, haveFound := haveNames[test.Name] if wantFound && !haveFound { t.Errorf("value %s is not found while enumerating", test.Name) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 06 19:19:00 UTC 2024 - 18.5K bytes - Viewed (0) -
pkg/kubelet/container/helpers_test.go
havePod *v1.Pod haveName string wantContainer *v1.Container }{ { name: "regular container", havePod: &v1.Pod{ Spec: v1.PodSpec{ Containers: []v1.Container{ {Name: "plain-ole-container"}, }, InitContainers: []v1.Container{ {Name: "init-container"}, }, }, }, haveName: "plain-ole-container",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 01:55:46 UTC 2024 - 24.5K bytes - Viewed (0)