- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 366 for Want (0.03 sec)
-
cmd/metacache-stream_test.go
if entry.name != want[i] { t.Errorf("entry %d, want %q, got %q", i, want[i], entry.name) } } if entries.len() != len(want) { t.Fatal("unexpected length:", entries.len(), "want:", len(want)) } want = want[:0] entries, err = r.readN(0, false, true, false, "") if err != nil { t.Fatal(err, entries.len()) } if entries.len() != len(want) { t.Fatal("unexpected length:", entries.len(), "want:", len(want)) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 15K bytes - Viewed (0) -
src/archive/tar/tar_test.go
} if got, want := h2.Uname, v.h.Uname; got != want { t.Errorf("i=%d: Uname: got %q, want %q", i, got, want) } if got, want := h2.Gname, v.h.Gname; got != want { t.Errorf("i=%d: Gname: got %q, want %q", i, got, want) } if got, want := h2.Linkname, v.h.Linkname; got != want { t.Errorf("i=%d: Linkname: got %v, want %v", i, got, want) }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jul 25 00:25:45 UTC 2024 - 23.9K bytes - Viewed (0) -
cmd/kms-handlers_test.go
for i, want := range keys { if want.CreatedBy != kms.StubCreatedBy { t.Fatalf("want key created by %s, got %s", kms.StubCreatedBy, want.CreatedBy) } if want.CreatedAt != kms.StubCreatedAt { t.Fatalf("want key created at %s, got %s", kms.StubCreatedAt, want.CreatedAt) } if test.wantKeyNames[i] != want.Name { t.Fatalf("want key name %s, got %s", test.wantKeyNames[i], want.Name) } } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 22.3K bytes - Viewed (0) -
internal/crypto/metadata_test.go
t.Errorf("Test %d: got error '%v' - want error '%v'", i, err, test.ExpectedErr) } if err == nil && test.ExpectedErr != nil { t.Errorf("Test %d: got error '%v' - want error '%v'", i, err, test.ExpectedErr) } if err != nil && test.ExpectedErr != nil { if err.Error() != test.ExpectedErr.Error() { t.Errorf("Test %d: got error '%v' - want error '%v'", i, err, test.ExpectedErr) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 20:51:54 UTC 2024 - 18.7K bytes - Viewed (0) -
internal/s3select/sql/value_test.go
want: "true", wantAlt: "false", }, { name: valueBuilders[2]().String(), want: "byte contents", wantAlt: "", }, { name: valueBuilders[3]().String(), want: "3.141592653589793", wantAlt: "0", }, { name: valueBuilders[4]().String(), want: "4919", wantAlt: "0", }, { name: valueBuilders[5]().String(),
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Mar 06 16:56:10 UTC 2023 - 12.5K bytes - Viewed (0) -
tests/preload_suits_test.go
t.Error(err) } want := Level3{Level2: Level2{Level1: Level1{Value: "value"}}} if err := DB.Create(&want).Error; err != nil { t.Error(err) } var got Level3 if err := DB.Preload("Level2").Preload("Level2.Level1").Find(&got).Error; err != nil { t.Error(err) } if !reflect.DeepEqual(got, want) { t.Errorf("got %s; want %s", toJSONString(got), toJSONString(want)) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Mar 18 05:38:46 UTC 2022 - 30.3K bytes - Viewed (0) -
src/archive/zip/zip_test.go
t.Errorf("UncompressedSize: got %d, want %d\n", got, want) } if got, want := fh2.UncompressedSize64, wantUncompressedSize64; got != want { t.Errorf("UncompressedSize64: got %d, want %d\n", got, want) } if got, want := fh2.ModifiedTime, fh.ModifiedTime; got != want { t.Errorf("ModifiedTime: got %d, want %d\n", got, want) } if got, want := fh2.ModifiedDate, fh.ModifiedDate; got != want {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.6K bytes - Viewed (0) -
cmd/data-usage_test.go
t.Error("lastupdate not set") } if !want.Info.LastUpdate.Equal(got.Info.LastUpdate) { t.Fatalf("deserialize LastUpdate mismatch\nwant: %+v\ngot: %+v", want, got) } if len(want.Cache) != len(got.Cache) { t.Errorf("deserialize mismatch length\nwant: %+v\ngot: %+v", len(want.Cache), len(got.Cache)) } for wkey, wval := range want.Cache { gotv := got.Cache[wkey] if !equalAsJSON(gotv, wval) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 04 22:23:33 UTC 2024 - 14.7K bytes - Viewed (0) -
src/archive/tar/strconv_test.go
t.Errorf("parseNumeric(%q): got parsing failure, want success", v.in) } else { t.Errorf("parseNumeric(%q): got parsing success, want failure", v.in) } } if ok && got != v.want { t.Errorf("parseNumeric(%q): got %d, want %d", v.in, got, v.want) } } } func TestFormatNumeric(t *testing.T) { vectors := []struct { in int64 want string ok bool }{
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Feb 09 05:28:50 UTC 2021 - 14K bytes - Viewed (0) -
src/archive/zip/writer_test.go
} if got.Method != want.method { t.Errorf("%s: got Method %#x; want %#x", want.name, got.Method, want.method) } if got.Flags != want.flags { t.Errorf("%s: got Flags %#x; want %#x", want.name, got.Flags, want.flags) } if got.CRC32 != want.crc32 { t.Errorf("%s: got CRC32 %#x; want %#x", want.name, got.CRC32, want.crc32) } if got.CompressedSize64 != want.compressedSize {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 23 14:32:33 UTC 2024 - 14.4K bytes - Viewed (0)