- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 414 for wantRm (0.17 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/metrics/testutil_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 24 04:26:43 UTC 2020 - 3.4K bytes - Viewed (0) -
pilot/pkg/request/command_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Dec 11 19:11:01 UTC 2023 - 4.1K bytes - Viewed (0) -
test/typeparam/min.go
return y } func main() { const want = 2 if got := min[int](2, 3); got != want { panic(fmt.Sprintf("got %d, want %d", got, want)) } if got := min(2, 3); got != want { panic(fmt.Sprintf("want %d, got %d", want, got)) } if got := min[float64](3.5, 2.0); got != want { panic(fmt.Sprintf("got %d, want %d", got, want)) } if got := min(3.5, 2.0); got != want {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 979 bytes - Viewed (0) -
src/testing/iotest/reader_test.go
} b = make([]byte, 5) n, err := obr.Read(b) if g, w := err, io.EOF; g != w { t.Errorf("Error mismatch\n\tGot: %v\n\tWant: %v", g, w) } if g, w := n, 0; g != w { t.Errorf("Unexpectedly read %d bytes, wanted %d", g, w) } } func TestHalfReader_nonEmptyReader(t *testing.T) { msg := "Hello, World!" buf := new(bytes.Buffer) buf.WriteString(msg) // empty read buffer hr := HalfReader(buf) var b []byte
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 07 07:03:10 UTC 2022 - 6.1K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/zip_sum_test/zip_sum_test.go
} return } sum := modfetch.Sum(ctx, test.m) if sum != test.wantSum { if *updateTestData { t.Logf("%s: updating content sum to %s", test.m, sum) test.wantSum = sum needUpdate = true } else { t.Errorf("%s: got content sum %s; want sum %s", test.m, sum, test.wantSum) return } } h := sha256.New() f, err := os.Open(zipPath)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 18 19:33:59 UTC 2023 - 6.2K bytes - Viewed (0) -
pilot/pkg/credentials/kube/secrets_test.go
t.Errorf("got key %q, wanted %q", string(actualKey), tt.key) } if tt.cert != string(actualCert) { t.Errorf("got cert %q, wanted %q", string(actualCert), tt.cert) } if tt.staple != string(actualStaple) { t.Errorf("got staple %q, wanted %q", string(actualStaple), tt.staple) } if tt.crl != string(actualCrl) { t.Errorf("got crl %q, wanted %q", string(actualCrl), tt.crl) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 23 19:18:21 UTC 2024 - 18.4K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/slice_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 23 06:40:04 UTC 2020 - 850 bytes - Viewed (0) -
src/cmd/compile/internal/ssa/debug_lines_test.go
newGotStmts = append(newGotStmts, x) } } if !reflect.DeepEqual(wantStmts, newGotStmts) { t.Errorf("wanted stmts %v but got %v (with repeats still in: %v)", wantStmts, newGotStmts, gotStmts) } } else { if !reflect.DeepEqual(wantStmts, gotStmts) { t.Errorf("wanted stmts %v but got %v", wantStmts, gotStmts) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 20:24:52 UTC 2023 - 8.4K bytes - Viewed (0) -
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) -
src/net/http/fcgi/fcgi_test.go
name string body string wantCT string }{ { name: "no body", wantCT: "text/plain; charset=utf-8", }, { name: "html", body: "<html><head><title>test page</title></head><body>This is a body</body></html>", wantCT: "text/html; charset=utf-8", }, { name: "text", body: strings.Repeat("gopher", 86), wantCT: "text/plain; charset=utf-8", }, {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 11 18:51:39 UTC 2023 - 10.6K bytes - Viewed (0)