- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 807 for wantCS (0.6 seconds)
-
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 }{
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Sep 11 17:52:43 GMT 2025 - 15K bytes - Click Count (0) -
utils/utils_windows_test.go
cases := []struct { file string want string }{ { file: `C:/Users/name/go/pkg/mod/gorm.io/gorm@v1.2.3/utils/utils.go`, want: `C:/Users/name/go/pkg/mod/gorm.io/`, }, { file: `C:/go/work/proj/gorm/utils/utils.go`, want: `C:/go/work/proj/gorm/`, }, { file: `C:/go/work/proj/gorm_alias/utils/utils.go`, want: `C:/go/work/proj/gorm_alias/`, }, {Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Nov 21 02:48:13 GMT 2022 - 715 bytes - Click Count (0) -
internal/bucket/lifecycle/filter_test.go
filter Filter userTags string want bool }{ { filter: noTags, userTags: "", want: true, }, { filter: noTags, userTags: "A=3", want: true, }, { filter: oneTag, userTags: "A=3", want: false, }, { filter: oneTag, userTags: "FOO=1", want: true, }, { filter: oneTag,Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 27 00:01:20 GMT 2024 - 7.2K bytes - Click Count (0) -
cmd/xl-storage-format-utils_test.go
if got := hashDeterministicString(m); got == want { t.Errorf("hashDeterministicString() = %v, does not want %v", got, want) } want = hashDeterministicString(m) delete(m, "12312312") m["another"] = "" if got := hashDeterministicString(m); got == want { t.Errorf("hashDeterministicString() = %v, does not want %v", got, want) } want = hashDeterministicString(m) m["another"] = "hashDeterministicString"
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 7.1K bytes - Click Count (0) -
utils/utils_unix_test.go
func TestSourceDir(t *testing.T) { cases := []struct { file string want string }{ { file: "/Users/name/go/pkg/mod/gorm.io/gorm@v1.2.3/utils/utils.go", want: "/Users/name/go/pkg/mod/gorm.io/", }, { file: "/go/work/proj/gorm/utils/utils.go", want: "/go/work/proj/gorm/", }, { file: "/go/work/proj/gorm_alias/utils/utils.go", want: "/go/work/proj/gorm_alias/", }, {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Nov 21 02:48:13 GMT 2022 - 731 bytes - Click Count (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) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.7K bytes - Click Count (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 {Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Jan 28 04:20:09 GMT 2025 - 14.4K bytes - Click Count (0) -
internal/hash/errors.go
type SizeTooSmall struct { Want int64 Got int64 } func (e SizeTooSmall) Error() string { return fmt.Sprintf("Size small: got %d, want %d", e.Got, e.Want) } // SizeTooLarge reader size too large type SizeTooLarge struct { Want int64 Got int64 } func (e SizeTooLarge) Error() string { return fmt.Sprintf("Size large: got %d, want %d", e.Got, e.Want) } // SizeMismatch error size mismatchCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon May 15 21:08:54 GMT 2023 - 2.4K bytes - Click Count (0) -
docs/resiliency/resiliency-tests.sh
echo -e "${RED}${1} Failed${NC}" TESTS_RUN_STATUS=$((TESTS_RUN_STATUS & 0)) else echo -e "${GREEN}${1} Passed${NC}" fi } function verify_resiliency_healing() { local WANT=$2 docs/resiliency/resiliency-verify-healing-script.sh "$WANT" RESULT=$(grep "script passed" <resiliency-verify-healing.log) if [ "$RESULT" != "script passed" ]; then echo -e "${RED}${1} Failed${NC}" TESTS_RUN_STATUS=$((TESTS_RUN_STATUS & 0)) elseCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat Dec 21 04:24:45 GMT 2024 - 20.5K bytes - Click Count (0) -
utils/utils_test.go
want = fmt.Sprintf("%s:%d", filepath.ToSlash(file), line+1) return got, want } func TestFileWithLineNumWrappedCallRegression(t *testing.T) { got, want := fileWithLineNumWrappedOuterForTest() if got != want { t.Fatalf("FileWithLineNum wrapped caller mismatch, got %s, want %s", got, want) }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:31:30 GMT 2026 - 5.5K bytes - Click Count (0)