- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for SetupError (0.19 sec)
-
src/testing/quick/quick.go
} else { maxCount = *defaultMaxCount } } return } // A SetupError is the result of an error in the way that check is being // used, independent of the functions being tested. type SetupError string func (s SetupError) Error() string { return string(s) } // A CheckError is the result of Check finding an error. type CheckError struct { Count int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 17:55:47 UTC 2023 - 10.1K bytes - Viewed (0) -
src/testing/quick/quick_test.go
t.Errorf("#1 CheckEqual didn't return an error") } if _, ok := err.(SetupError); !ok { t.Errorf("#1 Error was not a SetupError: %s", err) } err = CheckEqual(func(x, y int) {}, func(x int) {}, nil) if err == nil { t.Errorf("#2 CheckEqual didn't return an error") } if _, ok := err.(SetupError); !ok { t.Errorf("#2 Error was not a SetupError: %s", err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 12:54:00 UTC 2019 - 9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"TimeoutReader", Func, 0}, {"TruncateWriter", Func, 0}, }, "testing/quick": { {"(*CheckEqualError).Error", Method, 0}, {"(*CheckError).Error", Method, 0}, {"(SetupError).Error", Method, 0}, {"Check", Func, 0}, {"CheckEqual", Func, 0}, {"CheckEqualError", Type, 0}, {"CheckEqualError.CheckError", Field, 0}, {"CheckEqualError.Out1", Field, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
api/go1.txt
pkg testing/quick, func Value(reflect.Type, *rand.Rand) (reflect.Value, bool) pkg testing/quick, method (*CheckEqualError) Error() string pkg testing/quick, method (*CheckError) Error() string pkg testing/quick, method (SetupError) Error() string pkg testing/quick, type CheckEqualError struct pkg testing/quick, type CheckEqualError struct, Out1 []interface{} pkg testing/quick, type CheckEqualError struct, Out2 []interface{}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)