mirror of
https://github.com/golang/go.git
synced 2025-05-29 19:35:42 +00:00
runtime: fix an error message in TestCrashDumpsAllThreads
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>
This commit is contained in:
parent
5442f4d51b
commit
0cbe3e00d8
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user