]> Cypherpunks repositories - gostls13.git/commit
internal/cpu: revise test to make it work properly with -cover
authorThan McIntosh <thanm@google.com>
Sat, 7 May 2022 13:24:05 +0000 (09:24 -0400)
committerThan McIntosh <thanm@google.com>
Mon, 9 May 2022 12:32:48 +0000 (12:32 +0000)
commitc4311a47a0cb97f85e045a6d8f7c284cb6866da9
tree4637e92c795ce17b2901cc3124fbd90539a1b861
parent7ca1e2aa56f23b1766e8f5f65c431d18abd58985
internal/cpu: revise test to make it work properly with -cover

Fix up a test to insure that it does the right thing when
"go test -cover" is in effect.

Fixes #52761.

Change-Id: I0c141181e2dcaefd592fb04813f812f2800511da
Reviewed-on: https://go-review.googlesource.com/c/go/+/404715
Run-TryBot: Than McIntosh <thanm@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
src/internal/cpu/cpu_test.go