- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for wantFound (0.15 sec)
-
src/os/exec/dot_test.go
found, err := LookPath("execabs-test") if wantErrDot { wantFound := filepath.Join(".", executable) if found != wantFound || !errors.Is(err, ErrDot) { t.Fatalf(`LookPath(%#q) = %#q, %v, want %#q, Is ErrDot`, "execabs-test", found, err, wantFound) } } else { wantFound := filepath.Join(dir, executable) if found != wantFound || err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 13 18:19:21 UTC 2023 - 6.1K bytes - Viewed (0) -
src/slices/sort_test.go
if pos != tt.wantPos || found != tt.wantFound { t.Errorf("BinarySearch got (%v, %v), want (%v, %v)", pos, found, tt.wantPos, tt.wantFound) } } { pos, found := BinarySearchFunc(tt.data, tt.target, strings.Compare) if pos != tt.wantPos || found != tt.wantFound { t.Errorf("BinarySearchFunc got (%v, %v), want (%v, %v)", pos, found, tt.wantPos, tt.wantFound) } } }) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 09 19:20:55 UTC 2024 - 9.5K bytes - Viewed (0) -
src/internal/syscall/windows/registry/registry_test.go
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) } if haveFound && !wantFound { t.Errorf("value %s is found while enumerating, but expected to fail", test.Name) } if haveFound {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 06 19:19:00 UTC 2024 - 18.5K bytes - Viewed (0) -
cni/pkg/repair/repair_test.go
}, tt.wantLabels) if tt.wantCount > 0 { mt.Assert(podsRepaired.Name(), tt.wantTags, monitortest.Exactly(tt.wantCount)) } }) } } func TestDeletePods(t *testing.T) { tests := []struct { name string client kube.Client config config.RepairConfig wantErr bool wantPods []*corev1.Pod wantCount float64 wantTags map[string]string }{ {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 24 03:31:28 UTC 2023 - 10.6K bytes - Viewed (0) -
pkg/scheduler/schedule_one_test.go
// Checking default binding. if wantBound := test.wantBinderID == -1; defaultBound != wantBound { t.Errorf("got bound with default binding: %v, want %v", defaultBound, wantBound) } // Checking extenders binding. for i, ext := range test.extenders { wantBound := i == test.wantBinderID if gotBound := ext.(*fakeExtender).gotBind; gotBound != wantBound {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:20:55 UTC 2024 - 128.1K bytes - Viewed (0)