- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 411 for Got (0.03 sec)
-
internal/event/arn_test.go
expectErr := (err != nil) if expectErr != testCase.expectErr { t.Fatalf("test %v: error: expected: %v, got: %v", i+1, testCase.expectErr, expectErr) } if !testCase.expectErr { if !reflect.DeepEqual(data, testCase.expectedData) { t.Fatalf("test %v: data: expected: %v, got: %v", i+1, string(testCase.expectedData), string(data)) } } } } func TestARNUnmarshalXML(t *testing.T) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 3.8K bytes - Viewed (0) -
internal/crypto/metadata_test.go
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 { 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/http/check_port_test.go
switch { case testCase.expectedErr == nil: if err != nil { t.Fatalf("error: expected = <nil>, got = %v", err) } case err == nil: t.Fatalf("error: expected = %v, got = <nil>", testCase.expectedErr) case testCase.expectedErr.Error() != err.Error(): t.Fatalf("error: expected = %v, got = %v", testCase.expectedErr, err) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 03 21:12:25 UTC 2023 - 1.9K bytes - Viewed (0) -
cmd/storage-rest_test.go
expectErr := (err != nil) if expectErr != testCase.expectErr { t.Fatalf("case %v: error: expected: %v, got: %v", i+1, testCase.expectErr, expectErr) } if err != errUnformattedDisk { t.Fatalf("case %v: error: expected: %v, got: %v", i+1, errUnformattedDisk, err) } } } func testStorageAPIStatInfoFile(t *testing.T, storage StorageAPI) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 22 07:04:48 UTC 2024 - 11.5K bytes - Viewed (0) -
cmd/batch-job-common-types_test.go
LowerBound: 1 << 20, }, want: true, }, } for i, test := range tests { t.Run(fmt.Sprintf("test-%d", i+1), func(t *testing.T) { if got := test.sizeFilter.InRange(test.objSize); got != test.want { t.Fatalf("Expected %v but got %v", test.want, got) } }) } } func TestBatchJobSizeValidate(t *testing.T) { errInvalidBatchJobSizeFilter := BatchJobYamlErr{ msg: "invalid batch-job size filter",
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jan 08 23:22:28 UTC 2024 - 3.3K bytes - Viewed (0) -
tests/update_test.go
t.Errorf("errors happened when update: %v", res.Error) } else if res.RowsAffected != 1 { t.Errorf("rows affected should be 1, but got : %v", res.RowsAffected) } else if user.Age != 5 { t.Errorf("Age should equals to 5, but got %v", user.Age) } else if user.Active != true { t.Errorf("Active should be true, but got %v", user.Active) } checkUpdatedAtChanged("Updates with map", user.UpdatedAt) checkOtherData("Updates with map")
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Dec 04 03:50:58 UTC 2023 - 30.3K bytes - Viewed (0) -
tests/associations_many2many_test.go
t.Fatalf("Error happened when append language, got %v", err) } user.Languages = []Language{language2} CheckUser(t, user2, user) AssertAssociationCount(t, user2, "Languages", 1, "AfterReplace") // Delete if err := DB.Model(&user2).Association("Languages").Delete(&Language{}); err != nil { t.Fatalf("Error happened when delete language, got %v", err) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Jun 10 13:05:19 UTC 2023 - 13.2K bytes - Viewed (0) -
internal/grid/grid_test.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 36.4K bytes - Viewed (0) -
internal/bucket/encryption/bucket-sse-config_test.go
t.Errorf("Test case %d: Expected to succeed but got %s", i+1, err) } if !tc.shouldPass { if err == nil || err != nil && err.Error() != tc.expectedErr.Error() { t.Errorf("Test case %d: Expected %s but got %s", i+1, tc.expectedErr, err) } continue } if tc.keyID != "" && tc.keyID != ssec.KeyID() { t.Errorf("Test case %d: Expected bucket encryption KeyID %s but got %s", i+1, tc.keyID, ssec.KeyID()) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 16 18:28:30 UTC 2022 - 6.1K bytes - Viewed (0) -
internal/auth/credentials_test.go
if testCase.expectedErr == nil { t.Fatalf("test %v: error: expected = <nil>, got = %v", i+1, err) } if testCase.expectedErr.Error() != err.Error() { t.Fatalf("test %v: error: expected = %v, got = %v", i+1, testCase.expectedErr, err) } } else { if testCase.expectedErr != nil { t.Fatalf("test %v: error: expected = %v, got = <nil>", i+1, testCase.expectedErr) } if !cred.IsValid() {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Mar 01 21:09:42 UTC 2024 - 5.4K bytes - Viewed (0)