mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
- fine-tuning of one-line func heuristic (nodes.go)
- enabled for function declarations (not just function literals) - applied gofmt -w $GOROOT/src (look for instance at src/pkg/debug/elf/elf.go) R=r, rsc CC=go-dev http://go/go-review/1026006
This commit is contained in:
parent
8c40900fc2
commit
368f8cbc75
213 changed files with 1297 additions and 3670 deletions
|
|
@ -43,9 +43,7 @@ func randFloat64(rand *rand.Rand) float64 {
|
|||
}
|
||||
|
||||
// randInt64 returns a random integer taking half the range of an int64.
|
||||
func randInt64(rand *rand.Rand) int64 {
|
||||
return rand.Int63() - 1<<62;
|
||||
}
|
||||
func randInt64(rand *rand.Rand) int64 { return rand.Int63() - 1<<62 }
|
||||
|
||||
// complexSize is the maximum length of arbitrary values that contain other
|
||||
// values.
|
||||
|
|
@ -195,9 +193,7 @@ func (c *Config) getMaxCount() (maxCount int) {
|
|||
// used, independent of the functions being tested.
|
||||
type SetupError string
|
||||
|
||||
func (s SetupError) String() string {
|
||||
return string(s);
|
||||
}
|
||||
func (s SetupError) String() string { return string(s) }
|
||||
|
||||
// A CheckError is the result of Check finding an error.
|
||||
type CheckError struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue