mirror of
https://github.com/golang/go
synced 2024-11-24 07:10:18 -07:00
runtime: fix backward error message
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>
This commit is contained in:
parent
5fce1d9613
commit
6bd0e7fa8a
@ -534,7 +534,7 @@ func TestCgoTracebackSigpanic(t *testing.T) {
|
||||
// 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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user