- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 503 for got4 (0.06 sec)
-
.teamcity/mvnw.cmd
cd .. IF "%WDIR%"=="%CD%" goto baseDirNotFound set WDIR=%CD% goto findBaseDir :baseDirFound set MAVEN_PROJECTBASEDIR=%WDIR% cd "%EXEC_DIR%" goto endDetectBaseDir :baseDirNotFound set MAVEN_PROJECTBASEDIR=%EXEC_DIR% cd "%EXEC_DIR%" :endDetectBaseDir IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Feb 26 01:48:39 UTC 2020 - 6.5K bytes - Viewed (0) -
tests/group_by_test.go
} if err := DB.Model(&User{}).Select("name, sum(age) as total").Where("name LIKE ?", "groupby%").Group("name").Having("name = ?", "groupby1").Row().Scan(&name, &total); err != nil { t.Errorf("no error should happen, but got %v", err) } if name != "groupby1" || total != 660 { t.Errorf("name should be groupby, but got %v, total should be 660, but got %v", name, total) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 3.3K bytes - Viewed (0) -
tests/table_test.go
if err != nil { t.Fatalf("failed to parse user unique, got error %v", err) } constraints := user.ParseUniqueConstraints() if len(constraints) != 1 { t.Fatalf("failed to find unique constraint, got %v", constraints) } for key := range constraints { if len(key) != 63 { t.Errorf("failed to find unique constraint, got %v", constraints) } } })
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Mar 09 09:31:28 UTC 2024 - 10.6K bytes - Viewed (0) -
tests/query_test.go
t.Errorf("invalid data type for %v, got %#v", dbName, first[dbName]) } case "Age": if _, ok := first[dbName].(uint); !ok { t.Errorf("invalid data type for %v, got %#v", dbName, first[dbName]) } case "Birthday": if _, ok := first[dbName].(*time.Time); !ok { t.Errorf("invalid data type for %v, got %#v", dbName, first[dbName]) } }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Jun 24 09:42:59 UTC 2024 - 50.4K bytes - Viewed (0) -
tests/gorm_test.go
t.Fatalf("first expects: %v, got %v", u1, got) } results = DB.Select("id, name").Find(&got) if results.Error != nil { t.Fatalf("errors happened on first: %v", results.Error) } else if results.RowsAffected != 1 { t.Fatalf("rows affected expects: %v, got %v", 1, results.RowsAffected) } else if got.ID != u1.ID { t.Fatalf("select expects: %v, got %v", u1, got) } u1.Name = "jinzhu"
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Jun 01 07:22:21 UTC 2023 - 3.3K bytes - Viewed (0) -
tests/count_test.go
t.Errorf(fmt.Sprintf("Count should work, but got err %v", err)) } if count1 != 1 { t.Errorf("Count with group should be 1, but got count: %v", count1) } var count2 int64 if err := DB.Model(&Company{}).Where("name in ?", []string{"company_count_group_b", "company_count_group_c"}).Group("name").Count(&count2).Error; err != nil { t.Errorf(fmt.Sprintf("Count should work, but got err %v", err)) } if count2 != 2 {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Oct 30 09:15:49 UTC 2023 - 6.9K bytes - Viewed (0) -
cmd/bucket-lifecycle_test.go
fi.TransitionStatus = lifecycle.TransitionComplete fi.Metadata = tc.meta if got := fi.IsRemote(); got != tc.remote { t.Fatalf("Test %d.a: expected %v got %v", i+1, tc.remote, got) } oi := fi.ToObjectInfo("bucket", "object", false) if got := oi.IsRemote(); got != tc.remote { t.Fatalf("Test %d.b: expected %v got %v", i+1, tc.remote, got) } } // Reset transition status; An object that's not transitioned is not remote.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 31 09:57:57 UTC 2022 - 7K bytes - Viewed (0) -
cmd/xl-storage-format-utils_test.go
for i := 0; i < n; i++ { if got := hashDeterministicString(m); got != want { t.Errorf("hashDeterministicString() = %v, want %v", got, want) } } // Check casual collisions if m == nil { m = make(map[string]string) } m["12312312"] = "" if got := hashDeterministicString(m); got == want { t.Errorf("hashDeterministicString() = %v, does not want %v", got, want) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 08 15:29:58 UTC 2024 - 7.1K bytes - Viewed (0) -
cmd/data-usage-cache_test.go
h.add(sz) } got := h.toMap() exp := test.want // what is in exp is in got for k := range exp { if exp[k] != got[k] { t.Fatalf("interval %s: Expected %d values but got %d values\n", k, exp[k], got[k]) } } // what is absent in exp is absent in got too for k := range got { if _, ok := exp[k]; !ok && got[k] > 0 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jan 13 07:51:08 UTC 2024 - 2.6K bytes - Viewed (0) -
tests/embedded_struct_test.go
t.Errorf("Expected to get Author content %v but got: %v", NewPost.Author.Content, hnPost.Author.Content) } if hnPost.Author.ContentPtr != nil { t.Errorf("Expected to get nil Author contentPtr but got: %v", hnPost.Author.ContentPtr) } if NewPost.Author.Birthday.UnixMilli() != hnPost.Author.Birthday.UnixMilli() { t.Errorf("Expected to get Author birthday with %+v but got: %+v", NewPost.Author.Birthday, hnPost.Author.Birthday)
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 7.3K bytes - Viewed (0)