]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix an error message in TestCrashDumpsAllThreads
authorCherry Mui <cherryyz@google.com>
Mon, 7 Feb 2022 17:00:04 +0000 (12:00 -0500)
committerCherry Mui <cherryyz@google.com>
Tue, 8 Feb 2022 22:39:05 +0000 (22:39 +0000)
Change-Id: I04962c836fd448378b8bf071ba848f3b24253dce
Reviewed-on: https://go-review.googlesource.com/c/go/+/384159
Trust: Cherry Mui <cherryyz@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>

src/runtime/crash_unix_test.go

index 1eb10f9b60d93a9e9754d048a3e851990e78b89f..a218205af44c0055cbe19e67f0c2b191bd997d08 100644 (file)
@@ -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)
        }
 }