- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 413 for got4 (0.03 sec)
-
internal/bucket/lifecycle/noncurrentversion_test.go
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Tue Dec 14 17:41:44 UTC 2021 - 2.1K bytes - Viewed (0) -
internal/event/rules_test.go
if !reflect.DeepEqual(result, testCase.rules) { t.Fatalf("test %v: result: expected: %v, got: %v", i+1, testCase.rules, result) } result.Add(NewPattern(testCase.prefix, ""), testCase.targetID) if reflect.DeepEqual(result, testCase.rules) { t.Fatalf("test %v: result: expected: not equal, got: equal", i+1) } } } func TestRulesUnion(t *testing.T) { rulesCase1 := make(Rules)
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 8.8K bytes - Viewed (0) -
tests/migrate_test.go
if err := DB.Migrator().DropTable(allModels...); err != nil { t.Fatalf("Failed to drop table, got error %v", err) } if err := DB.AutoMigrate(allModels...); err != nil { t.Fatalf("Failed to auto migrate, got error %v", err) } if tables, err := DB.Migrator().GetTables(); err != nil { t.Fatalf("Failed to get database all tables, but got error %v", err) } else {
Registered: Sun Oct 27 09:35:08 UTC 2024 - Last Modified: Mon Mar 18 11:24:16 UTC 2024 - 56.2K 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 Oct 27 19:28:09 UTC 2024 - Last Modified: Fri Mar 01 21:09:42 UTC 2024 - 5.4K bytes - Viewed (0) -
schema/constraint_test.go
Name3 string `gorm:"check:,name <> 'jinzhu'"` } func TestParseCheck(t *testing.T) { user, err := schema.Parse(&UserCheck{}, &sync.Map{}, schema.NamingStrategy{}) if err != nil { t.Fatalf("failed to parse user check, got error %v", err) } results := map[string]schema.CheckConstraint{ "name_checker": { Name: "name_checker", Constraint: "name <> 'jinzhu'", }, "chk_user_checks_name2": {
Registered: Sun Oct 27 09:35:08 UTC 2024 - Last Modified: Sun Feb 04 07:49:19 UTC 2024 - 2.2K bytes - Viewed (0) -
internal/bucket/replication/rule_test.go
cfg, err := ParseConfig(bytes.NewReader([]byte(tc.inputConfig))) if err != nil { t.Fatalf("Got unexpected error: %v", err) } if got := cfg.Rules[0].MetadataReplicate(tc.opts); got != tc.expectedResult { t.Fatalf("Expected result with recursive set to false: `%v`, got: `%v`", tc.expectedResult, got) } }) }
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 4.6K bytes - Viewed (0) -
istioctl/pkg/admin/istiodconfig_test.go
} for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { got, err := newScopeLevelPair(tt.args.slp, tt.args.validationPattern) if (err != nil) != tt.wantErr { t.Errorf("newScopeLevelPair() error = %v, wantErr %v", err, tt.wantErr) return } if !reflect.DeepEqual(got, tt.want) { t.Errorf("newScopeLevelPair() got = %v, want %v", got, tt.want) } }) } }
Registered: Wed Oct 30 22:53:10 UTC 2024 - Last Modified: Thu Jun 15 15:02:17 UTC 2023 - 6.2K bytes - Viewed (0) -
buildscripts/minio-upgrade.sh
echo "mismatch expected ${sum1_heal}, got ${sum1}" exit 1 fi } verify_checksum_mc() { local expected expected=$(mc cat "$1" | sha256sum) local got got=$(mc cat "$2" | sha256sum) if [ "${expected}" != "${got}" ]; then echo "mismatch - expected ${expected}, got ${got}" exit 1 fi echo "matches - ${expected}, got ${got}" } add_alias() { for i in $(seq 1 4); do
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Thu Jun 13 05:08:11 UTC 2024 - 2.6K 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 Oct 27 19:28:09 UTC 2024 - Last Modified: Wed May 03 21:12:25 UTC 2023 - 1.9K bytes - Viewed (0) -
internal/event/config_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(result, testCase.expectedResult) { t.Fatalf("test %v: data: expected: %v, got: %v", i+1, testCase.expectedResult, result) } } } } func TestFilterRuleListUnmarshalXML(t *testing.T) {
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Tue Dec 05 10:16:33 UTC 2023 - 29K bytes - Viewed (0)