- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 37 for wantOut (0.13 sec)
-
staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook_v1beta1_test.go
clientCert, clientKey, clientCA []byte serverCert, serverKey, serverCA []byte wantAuth, wantErr bool }{ { test: "TLS setup between client and server", clientCert: clientCert, clientKey: clientKey, clientCA: caCert, serverCert: serverCert, serverKey: serverKey, serverCA: caCert, wantAuth: true, }, { test: "Server does not require client auth",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 22:41:27 UTC 2024 - 19.9K bytes - Viewed (0) -
src/net/http/routing_tree_test.go
gotNode, gotMatches := tree.match(test.host, test.method, test.path) got := "" if gotNode != nil { got = gotNode.pattern.String() } if got != test.wantPat { 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)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 30 15:43:24 UTC 2024 - 7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/etcd_test.go
t.Helper() wantSet := sets.NewString(want...) gotSet := sets.NewString() for _, h := range healthChecks { gotSet.Insert(h.Name()) } gotSet.Delete("log", "ping") // not relevant for our tests if !wantSet.Equal(gotSet) { t.Errorf("%s checks are not equal, missing=%q, extra=%q", checkerType, wantSet.Difference(gotSet).List(), gotSet.Difference(wantSet).List()) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 16.4K bytes - Viewed (0) -
src/cmd/vet/vet_test.go
// // Sources files are supplied as fullshort slice. // It consists of pairs: full path to source file and its base name. func errorCheck(outStr string, wantAuto bool, fullshort ...string) (err error) { var errs []error out := splitOutput(outStr, wantAuto) // Cut directory name. for i := range out { for j := 0; j < len(fullshort); j += 2 { full, short := fullshort[j], fullshort[j+1]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 01:02:40 UTC 2024 - 12.5K bytes - Viewed (0) -
src/database/sql/convert_test.go
} if ct.wantraw != nil && string(ct.wantraw) != string(scanraw) { errf("want RawBytes %q, got %q", ct.wantraw, scanraw) } if ct.wantint != 0 && ct.wantint != intValue(ct.d) { errf("want int %d, got %d", ct.wantint, intValue(ct.d)) } if ct.wantuint != 0 && ct.wantuint != uintValue(ct.d) { errf("want uint %d, got %d", ct.wantuint, uintValue(ct.d)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 10 20:23:22 UTC 2024 - 17K bytes - Viewed (0) -
src/strings/replace_test.go
args[i*2] = key } got := NewReplacer(args...).PrintTrie() // Remove tabs from tc.out wantbuf := make([]byte, 0, len(tc.out)) for i := 0; i < len(tc.out); i++ { if tc.out[i] != '\t' { wantbuf = append(wantbuf, tc.out[i]) } } want := string(wantbuf) if got != want { t.Errorf("PrintTrie(%q)\ngot\n%swant\n%s", tc.in, got, want) } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 22:53:05 UTC 2017 - 14.1K bytes - Viewed (0) -
src/cmd/compile/internal/test/pgo_inl_test.go
testenv.MustHaveGoRun(t) t.Parallel() const pkg = "example.com/pgo/inline" want := []string{ "(*BS).NS", } // The functions which are not expected to be inlined are as follows. wantNot := []string{ // The calling edge main->A is hot and the cost of A is large // than inlineHotCalleeMaxBudget. "A", // The calling edge BenchmarkA" -> benchmarkB is cold and the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 11.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook_v1_test.go
clientCert, clientKey, clientCA []byte serverCert, serverKey, serverCA []byte wantAuth, wantErr bool }{ { test: "TLS setup between client and server", clientCert: clientCert, clientKey: clientKey, clientCA: caCert, serverCert: serverCert, serverKey: serverKey, serverCA: caCert, wantAuth: true, }, { test: "Server does not require client auth",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 43.2K bytes - Viewed (0) -
src/cmd/internal/testdir/testdir_test.go
// It consists of pairs: full path to source file and its base name. func (t test) errorCheck(outStr string, wantAuto bool, fullshort ...string) (err error) { defer func() { if testing.Verbose() && err != nil { t.Logf("gc output:\n%s", outStr) } }() var errs []error out := splitOutput(outStr, wantAuto) // Cut directory name. for i := range out { for j := 0; j < len(fullshort); j += 2 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 20:08:06 UTC 2024 - 57.5K bytes - Viewed (0) -
src/net/url/url_test.go
} } func TestInvalidUserPassword(t *testing.T) { _, err := Parse("http://user^:passwo^******@****.***/") if got, wantsub := fmt.Sprint(err), "net/url: invalid userinfo"; !strings.Contains(got, wantsub) { t.Errorf("error = %q; want substring %q", got, wantsub) } } func TestRejectControlCharacters(t *testing.T) { tests := []string{ "http://foo.com/?foo\nbar", "http\r://foo.com/",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:52:38 UTC 2024 - 52.1K bytes - Viewed (0)