- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 429 for Got (0.01 seconds)
-
cmd/sts-handlers_test.go
c.Fatalf("access keys mismatch: expected: %v, got: %v", expectedAccKeys, res) } accKeyInfo, err := s.adm.InfoServiceAccount(ctx, "u4ccRswj62HV3Ifwima7") if err != nil { c.Fatalf("Unable to get service account info: %v", err) } if accKeyInfo.ParentUser != "uid=svc.algorithm,ou=swengg,dc=min,dc=io" {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Oct 15 17:00:45 GMT 2025 - 103.4K bytes - Click Count (1) -
cmd/erasure-object-conditional_test.go
mustGetPutObjReader(t, bytes.NewReader([]byte("new-value")), int64(len("new-value")), "", ""), opts) if !isErrReadQuorum(err) { t.Errorf("Expected read quorum error when if-none-match is used with quorum failure, got: %v", err) } }) t.Run("if-match with read quorum failure", func(t *testing.T) { // Test Case 2: if-match (update only if ETag matches)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 4.9K bytes - Click Count (0) -
cmd/kms-handlers_test.go
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) } } }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 22.3K bytes - Click Count (0) -
generics_withresult_test.go
} if r.RowsAffected <= 0 { t.Fatalf("expected RowsAffected > 0, got %d", r.RowsAffected) } u2 := withResultUser{Name: "with-result-fail"} r2 := gorm.WithResult() if err := gorm.G[withResultUser](db, r2).Table("does_not_exist").Create(ctx, &u2); err == nil { t.Fatalf("expected error for missing table, got nil") } if r2.Error == nil { t.Fatalf("expected result error to be set for missing table")
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:34:24 GMT 2026 - 1.2K bytes - Click Count (0) -
cmd/api-response_test.go
if testCase.expectedLocation != gotLocation { t.Errorf("expected %s, got %s", testCase.expectedLocation, gotLocation) } }) } } // Tests getURLScheme function behavior. func TestGetURLScheme(t *testing.T) { tls := false gotScheme := getURLScheme(tls) if gotScheme != httpScheme { t.Errorf("Expected %s, got %s", httpScheme, gotScheme) } tls = true gotScheme = getURLScheme(tls)Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 24 04:05:19 GMT 2025 - 5.8K bytes - Click Count (0) -
schema/relationship_test.go
if err != nil { t.Fatalf("failed to parse schema, got error %v", err) } if len(userSchema.Relationships.Relations) != 1 { t.Fatalf("expects 1 relations, but got %v", len(userSchema.Relationships.Relations)) } if createdByRel, ok := userSchema.Relationships.Relations["CreatedBy"]; ok { if createdByRel.FieldSchema != userSchema { t.Fatalf("expects same field schema, but got new %p, old %p", createdByRel.FieldSchema, userSchema)Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Aug 18 11:44:52 GMT 2025 - 26.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
} // Since cache cannot store, getBuffer must create a new buffer of configured size byte[] got = impl.getBuffer(); assertNotNull(got); assertEquals(8, got.length, "Allocation uses configured maximum size when cache is empty"); assertNotSame(supplied, got, "Zero-sized cache must not return the released instance"); } // Edge: releasing null must be a no-op without exceptionsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.5K bytes - Click Count (0) -
cmd/erasure-metadata-utils_test.go
if gotErr != testCase.err { t.Errorf("Test %d : expected %s, got %s", i+1, testCase.err, gotErr) } gotNewErr := reduceWriteQuorumErrs(t.Context(), testCase.errs, testCase.ignoredErrs, 6) if gotNewErr != errErasureWriteQuorum { t.Errorf("Test %d : expected %s, got %s", i+1, errErasureWriteQuorum, gotErr) } } } // TestHashOrder - test order of ints in arrayCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 7.3K bytes - Click Count (0) -
internal/hash/reader.go
if r.expectedMin > 0 { if r.bytesRead < r.expectedMin { return 0, SizeTooSmall{Want: r.expectedMin, Got: r.bytesRead} } } if r.expectedMax > 0 { if r.bytesRead > r.expectedMax { return 0, SizeTooLarge{Want: r.expectedMax, Got: r.bytesRead} } } if r.sha256 != nil { if sum := r.sha256.Sum(nil); !bytes.Equal(r.contentSHA256, sum) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Jun 25 15:08:54 GMT 2025 - 11.8K bytes - Click Count (0) -
cmd/common-main_test.go
t.Error(errors.New("expected error, found success")) } if len(ekvs) != len(testCase.expectedEkvs) { t.Errorf("expected %v keys, got %v keys", len(testCase.expectedEkvs), len(ekvs)) } if !reflect.DeepEqual(ekvs, testCase.expectedEkvs) { t.Errorf("expected %v, got %v", testCase.expectedEkvs, ekvs) } }) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.7K bytes - Click Count (2)