This was added in CL 339990.
Change-Id: I4b0f97bf1a3926e37a42f77e149dcab3b7b75a63
Reviewed-on: https://go-review.googlesource.com/c/go/+/359255
Trust: Michael Pratt <mpratt@google.com>
Run-TryBot: Michael Pratt <mpratt@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
// No runtime errors like "runtime: unexpected return pc".
nowant := "runtime: "
if strings.Contains(got, nowant) {
- t.Errorf("unexpectedly saw %q in output", want)
+ t.Errorf("unexpectedly saw %q in output", nowant)
}
}