- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for WantOK (0.16 sec)
-
internal/s3select/sql/value_test.go
if gotOk := tt.fields.a.SameTypeAs(tt.fields.b); gotOk != tt.wantOk { t.Errorf("SameTypeAs() = %v, want %v", gotOk, tt.wantOk) } }) } } func TestValue_Equals(t *testing.T) { type fields struct { a, b Value } type test struct { name string fields fields wantOk bool } var tests []test for i := range valueBuilders {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Mar 06 16:56:10 UTC 2023 - 12.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/version/helpers_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Nov 19 02:46:55 UTC 2022 - 3.3K bytes - Viewed (0) -
cmd/metacache-entries_test.go
wantSelected *metaCacheEntry wantOk bool }{ { name: "consistent", m: metaCacheEntries{inputSerialized[0], inputSerialized[0], inputSerialized[0], inputSerialized[0]}, r: metadataResolutionParams{dirQuorum: 4, objQuorum: 4, strict: false}, wantSelected: &inputSerialized[0], wantOk: true, }, { name: "consistent-strict",
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 31.6K bytes - Viewed (0) -
pkg/serviceaccount/openidmetadata_test.go
t.Run(tt.Name, func(t *testing.T) { resp, err := http.Get(s.URL + tt.Path) if err != nil { t.Fatal(err) } if tt.WantOK && (resp.StatusCode != http.StatusOK) { t.Errorf("Get(%v)= %v, want %v", tt.Path, resp.StatusCode, http.StatusOK) } if !tt.WantOK && (resp.StatusCode != http.StatusNotFound) { t.Errorf("Get(%v)= %v, want %v", tt.Path, resp.StatusCode, http.StatusNotFound) } }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 02 01:53:17 UTC 2023 - 14.8K bytes - Viewed (0) -
src/net/netip/netip_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 17:10:01 UTC 2024 - 54.3K bytes - Viewed (0) -
src/cmd/go/internal/fsys/fsys_test.go
{"subdir5/deleted.txt", "", true}, } for _, tc := range testCases { gotPath, gotOK := OverlayPath(tc.path) if gotPath != tc.wantPath || gotOK != tc.wantOK { t.Errorf("OverlayPath(%q): got %v, %v; want %v, %v", tc.path, gotPath, gotOK, tc.wantPath, tc.wantOK) } } } func TestOpen(t *testing.T) { initOverlay(t, ` { "Replace": {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 18:52:11 UTC 2023 - 29.1K bytes - Viewed (0) -
pkg/scheduler/schedule_one_test.go
if err != test.wErr { gotFitErr, gotOK := err.(*framework.FitError) wantFitErr, wantOK := test.wErr.(*framework.FitError) if gotOK != wantOK { t.Errorf("Expected err to be FitError: %v, but got %v (error: %v)", wantOK, gotOK, err) } else if gotOK { if diff := cmp.Diff(wantFitErr, gotFitErr); diff != "" {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:20:55 UTC 2024 - 128.1K bytes - Viewed (0)