- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testPut (0.05 sec)
-
src/bytes/bytes_test.go
{"abc", "c", "ab", "", true}, {"abc", "abc", "", "", true}, {"abc", "", "", "abc", true}, {"abc", "d", "abc", "", false}, {"", "d", "", "", false}, {"", "", "", "", true}, } func TestCut(t *testing.T) { for _, tt := range cutTests { if before, after, found := Cut([]byte(tt.s), []byte(tt.sep)); string(before) != tt.before || string(after) != tt.after || found != tt.found {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Aug 19 19:09:04 UTC 2024 - 61.2K bytes - Viewed (0) -
tests/query_test.go
if regexp.MustCompile("SELECT \\* FROM .*users").MatchString(result.Statement.SQL.String()) { t.Fatalf("SQL should not include a * wildcard, but got %v", result.Statement.SQL.String()) } } func TestNot(t *testing.T) { dryDB := DB.Session(&gorm.Session{DryRun: true}) result := dryDB.Not(map[string]interface{}{"name": "jinzhu"}).Find(&User{})
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Jun 24 09:42:59 UTC 2024 - 50.4K bytes - Viewed (0)