diff options
| author | Michael Pratt <mpratt@google.com> | 2021-10-27 16:09:59 -0400 |
|---|---|---|
| committer | Michael Pratt <mpratt@google.com> | 2021-10-28 16:54:58 +0000 |
| commit | 6bd0e7fa8a2cb5c8de9d4566c900233715d8cf0e (patch) | |
| tree | ea1eec57a73d95f7fe590b26494ce3bb68aab4e6 /src | |
| parent | 5fce1d96137e1079c393c94febfac49d1e2979b0 (diff) | |
| download | go-6bd0e7fa8a2cb5c8de9d4566c900233715d8cf0e.tar.xz | |
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>
Diffstat (limited to 'src')
| -rw-r--r-- | src/runtime/crash_cgo_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/crash_cgo_test.go b/src/runtime/crash_cgo_test.go index 8485b6a1a5..c0d4569462 100644 --- a/src/runtime/crash_cgo_test.go +++ b/src/runtime/crash_cgo_test.go @@ -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) } } |
