- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 621 for wantCS (0.03 sec)
-
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/`, }, {Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Nov 21 02:48:13 UTC 2022 - 715 bytes - Viewed (0) -
internal/rest/client_test.go
want: false, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { // Wrap error n := &NetworkError{ Err: tt.err, } //nolint:gocritic if tt.target == nil { var netErrInterface net.Error if errors.As(n, &netErrInterface) != tt.want { t.Errorf("errors.As(n, &tt.target) != tt.want, n: %#v, target: %#v, want:%v, got: %v", n, tt.target, tt.want, !tt.want) }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 1.9K bytes - Viewed (0) -
README.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Thu Dec 25 11:01:37 UTC 2025 - 26.4K bytes - Viewed (0) -
schema/serializer_test.go
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sun Oct 26 12:29:44 UTC 2025 - 4.8K bytes - Viewed (0) -
internal/arn/arn_test.go
Region: "us-east-1", ResourceType: "role", ResourceID: "my-role", }, want: "arn:minio::us-east-1::role/my-role", }, } for _, tt := range tests { t.Run(tt.want, func(t *testing.T) { if got := tt.arn.String(); got != tt.want { t.Errorf("ARN.String() = %v, want %v", got, tt.want) } }) } } func TestNewIAMRoleARN(t *testing.T) { type args struct { resourceID string
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Apr 04 08:31:34 UTC 2024 - 5.1K bytes - Viewed (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)) elseRegistered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sat Dec 21 04:24:45 UTC 2024 - 20.5K bytes - Viewed (0) -
internal/pubsub/pubsub_test.go
t.Fatalf("expected 2 subscribers") } if want, got := int32(2), ps.NumSubscribers(Mask(1)); got != want { t.Fatalf("want %d subscribers, got %d", want, got) } if want, got := int32(2), ps.NumSubscribers(Mask(2)); got != want { t.Fatalf("want %d subscribers, got %d", want, got) } if want, got := int32(2), ps.NumSubscribers(Mask(1|2)); got != want { t.Fatalf("want %d subscribers, got %d", want, got) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 5.8K bytes - Viewed (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/", }, {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Nov 21 02:48:13 UTC 2022 - 731 bytes - Viewed (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,Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 27 00:01:20 UTC 2024 - 7.2K bytes - Viewed (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"
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 7.1K bytes - Viewed (0)