Change-Id: I16b6bfb6b0f02672c894b20845aa14d8dd1979b4
GitHub-Last-Rev:
75ab90123a8a5ad42e96795b756d3a9e898aaa06
GitHub-Pull-Request: golang/go#49819
Reviewed-on: https://go-review.googlesource.com/c/go/+/367314
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Emmanuel Odeke <emmanuel@orijtech.com>
TryBot-Result: Go Bot <gobot@golang.org>
}
func (r fuzzResult) String() string {
- s := ""
if r.Error == nil {
- return s
+ return ""
}
- s = fmt.Sprintf("%s", r.Error.Error())
- return s
+ return r.Error.Error()
}
// fuzzCrashError is satisfied by a failing input detected while fuzzing.