From: Cherry Mui Date: Mon, 7 Feb 2022 17:00:04 +0000 (-0500) Subject: runtime: fix an error message in TestCrashDumpsAllThreads X-Git-Tag: go1.18rc1~71 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=0cbe3e00d820a2022d220d0790c0e85eb96de3d1;p=gostls13.git runtime: fix an error message in TestCrashDumpsAllThreads Change-Id: I04962c836fd448378b8bf071ba848f3b24253dce Reviewed-on: https://go-review.googlesource.com/c/go/+/384159 Trust: Cherry Mui Reviewed-by: Ian Lance Taylor Run-TryBot: Cherry Mui TryBot-Result: Gopher Robot --- diff --git a/src/runtime/crash_unix_test.go b/src/runtime/crash_unix_test.go index 1eb10f9b60..a218205af4 100644 --- a/src/runtime/crash_unix_test.go +++ b/src/runtime/crash_unix_test.go @@ -132,7 +132,7 @@ func TestCrashDumpsAllThreads(t *testing.T) { out := outbuf.Bytes() n := bytes.Count(out, []byte("main.crashDumpsAllThreadsLoop(")) if n != 4 { - t.Errorf("found %d instances of main.loop; expected 4", n) + t.Errorf("found %d instances of main.crashDumpsAllThreadsLoop; expected 4", n) t.Logf("%s", out) } }