- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 414 for wantNG (0.13 sec)
-
internal/config/storageclass/storage-class_test.go
if err == nil && tt.expectedError != nil { t.Errorf("Test %d, Expected %s, got %s", i+1, tt.expectedError, err) return } if tt.expectedError == nil && !reflect.DeepEqual(gotSc, tt.wantSc) { t.Errorf("Test %d, Expected %v, got %v", i+1, tt.wantSc, gotSc) return } if tt.expectedError != nil && err.Error() != tt.expectedError.Error() { t.Errorf("Test %d, Expected `%v`, got `%v`", i+1, tt.expectedError, err) } } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Aug 15 23:04:20 UTC 2023 - 4.3K bytes - Viewed (0) -
pkg/config/validation/agent/validation_test.go
if err == nil && tt.out != "" { t.Fatalf("ValidateWildcardDomain(%v) = nil, wanted %q", tt.in, tt.out) } else if err != nil && tt.out == "" { t.Fatalf("ValidateWildcardDomain(%v) = %v, wanted nil", tt.in, err) } else if err != nil && !strings.Contains(err.Error(), tt.out) { t.Fatalf("ValidateWildcardDomain(%v) = %v, wanted %q", tt.in, err, tt.out) } }) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 39.1K bytes - Viewed (0) -
test/typeparam/stringerimp.dir/main.go
got := a.Stringify(x) want := []string{"1", "2", "3"} if !reflect.DeepEqual(got, want) { panic(fmt.Sprintf("got %s, want %s", got, want)) } m1 := myint(1) m2 := myint(2) m3 := myint(3) y := []*myint{&m1, &m2, &m3} got2 := a.Stringify(y) want2 := []string{"1", "2", "3"} if !reflect.DeepEqual(got2, want2) { panic(fmt.Sprintf("got %s, want %s", got2, want2)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 02:14:15 UTC 2022 - 741 bytes - Viewed (0) -
internal/bucket/bandwidth/monitor_test.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Sep 06 03:21:59 UTC 2023 - 4.3K bytes - Viewed (0) -
src/runtime/ehooks_test.go
t.Fatalf("failed%s mode %s: wanted %q\noutput:\n%s", bt, s.mode, s.expected, outs) } for _, need := range s.musthave { if !strings.Contains(outs, need) { t.Fatalf("failed mode %s: output does not contain %q\noutput:\n%s", s.mode, need, outs) } } if s.expected == "" && s.musthave == nil && outs != "" { t.Errorf("failed mode %s: wanted no output\noutput:\n%s", s.mode, outs) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 16:41:13 UTC 2024 - 2.1K bytes - Viewed (0) -
src/crypto/tls/handshake_client_test.go
t.Fatalf("expected non-nil certificates after resumption. Got peerCertificates: %#v, verifiedCertificates: %#v", hs.PeerCertificates, hs.VerifiedChains) } if got, want := hs.ServerName, clientConfig.ServerName; got != want { t.Errorf("%s: server name %s, want %s", test, got, want) } } getTicket := func() []byte { return clientConfig.ClientSessionCache.(*lruSessionCache).q.Front().Value.(*lruSessionCacheEntry).state.session.ticket
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 88.7K bytes - Viewed (0) -
cmd/kubeadm/app/phases/markcontrolplane/markcontrolplane_test.go
}, existingTaints: []v1.Taint{kubeadmconstants.ControlPlaneTaint}, newTaints: []v1.Taint{kubeadmconstants.ControlPlaneTaint}, expectedPatch: `{}`, }, { name: "has taint and no new taints wanted", existingLabels: []string{ kubeadmconstants.LabelNodeRoleControlPlane, kubeadmconstants.LabelExcludeFromExternalLB, }, existingTaints: []v1.Taint{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 25 14:22:20 UTC 2022 - 5K bytes - Viewed (0) -
src/cmd/compile/internal/test/inst_test.go
// ending in "-tramp" (which are created on riscv). re := regexp.MustCompile(`\bSort\[.*shape.*\][^-]`) r := re.FindAllIndex(output, -1) if len(r) != 1 { t.Fatalf("Wanted 1 instantiations of Sort function, got %d\n", len(r)) } // Actually run the test and make sure output is correct. cmd = testenv.Command(t, gotool, "run", filepath.Join("testdata", filename))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 06 18:07:35 UTC 2023 - 1.9K bytes - Viewed (0) -
istioctl/pkg/authz/analyzer_test.go
}, }, }, }, wantErr: nil, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { if _, wanted2 := NewAnalyzer(tt.input); wanted2 != nil { t.Errorf("Wanted %v, got %v", tt.wantErr, wanted2) } }) } } func TestPrint(t *testing.T) { a := &Analyzer{ listenerDump: &envoy_admin.ListenersConfigDump{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 2.8K bytes - Viewed (0) -
cmd/data-usage-cache_gen.go
zb0002, err = dc.ReadArrayHeader() if err != nil { err = msgp.WrapError(err, "ObjSizes") return } if zb0002 != uint32(dataUsageBucketLen) { err = msgp.ArrayError{Wanted: uint32(dataUsageBucketLen), Got: zb0002} return } for za0001 := range z.ObjSizes { z.ObjSizes[za0001], err = dc.ReadUint64() if err != nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Mar 21 17:21:35 UTC 2024 - 100.8K bytes - Viewed (0)