aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/crash_cgo_test.go2
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)
}
}