- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for wantSum (0.11 sec)
-
src/net/http/httputil/dump_test.go
} return req } if tt.WantDump != "" { req := freshReq(tt) dump, err := DumpRequest(req, !tt.NoBody) if err != nil { t.Errorf("DumpRequest #%d: %s\nWantDump:\n%s", i, err, tt.WantDump) continue } if string(dump) != tt.WantDump { t.Errorf("DumpRequest %d, expecting:\n%s\nGot:\n%s\n", i, tt.WantDump, string(dump)) continue } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 06 17:34:07 UTC 2022 - 12.5K bytes - Viewed (0) -
cmd/kubeadm/app/phases/addons/dns/dns_test.go
printManifest bool } tests := []struct { name string args args wantOut string wantErr bool }{ { name: "cfg is empty", args: args{ cfg: &kubeadmapi.ClusterConfiguration{}, client: newMockClientForTest(t, 2, 1, "", "", ""), printManifest: false, }, wantOut: "", wantErr: true, }, { name: "cfg is valid and not print Manifest",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 10:21:20 UTC 2024 - 41.7K bytes - Viewed (0) -
pkg/apis/core/v1/conversion_test.go
out *core.Pod } tests := []struct { name string args args wantErr bool wantOut *core.Pod }{ { args: args{ in: &v1.Pod{ Spec: v1.PodSpec{ TerminationGracePeriodSeconds: utilpointer.Int64(-1), }, }, out: &core.Pod{}, }, wantOut: &core.Pod{ Spec: core.PodSpec{ TerminationGracePeriodSeconds: utilpointer.Int64(1),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 10 05:34:15 UTC 2023 - 21.7K 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/link/internal/ld/ld_test.go
out, err := cmd.CombinedOutput() if err != nil { t.Fatal(err) } got := strings.TrimSpace(string(out)) if got != tt.wantOut { t.Errorf("got %q; want %q", got, tt.wantOut) } }) } } func TestRISCVTrampolines(t *testing.T) { testenv.MustHaveGoBuild(t) t.Parallel() tmpDir := t.TempDir()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 05:45:53 UTC 2023 - 10.3K bytes - Viewed (0) -
pkg/controller/job/indexed_job_utils_test.go
cases := map[string]struct { pods []indexPhase wantRm []indexPhase wantLeft []indexPhase completions int32 }{ "all unique": { pods: []indexPhase{ {noIndex, v1.PodPending}, {"2", v1.PodPending}, {"5", v1.PodRunning}, {"6", v1.PodRunning}, }, wantRm: []indexPhase{ {noIndex, v1.PodPending}, {"6", v1.PodRunning}, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 27.9K bytes - Viewed (0) -
cmd/metacache-entries_test.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 31.6K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/arith_test.go
// testArithRshConst ensures that "const >> const" right shifts correctly perform // sign extension on the lhs constant func testArithRshConst(t *testing.T) { wantu := uint64(0x4000000000000000) if got := arithRshuConst_ssa(); got != wantu { t.Errorf("arithRshuConst failed, wanted %d got %d", wantu, got) } wants := int64(-0x4000000000000000) if got := arithRshConst_ssa(); got != wants {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 01 19:30:59 UTC 2023 - 43.5K bytes - Viewed (0)