1
0
mirror of https://github.com/golang/go synced 2024-11-15 03:30:37 -07:00

cmd/cover: fix typo in comment

Change-Id: I7507e6cff00d027fd7840e0661499efc63353f6e
GitHub-Last-Rev: 81348ed39d
GitHub-Pull-Request: golang/go#66820
Reviewed-on: https://go-review.googlesource.com/c/go/+/578441
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
guoguangwu 2024-04-14 10:06:49 +00:00 committed by Gopher Robot
parent 91c0482672
commit c71d2a8d8f

View File

@ -169,7 +169,7 @@ func TestCoverOnPackageWithNoTestFiles(t *testing.T) {
// For packages with no test files, the new "go test -cover"
// strategy is to run cmd/cover on the package in a special
// "EmitMetaFile" mode. When running in this mode, cmd/cover walks
// the package doing instrumention, but when finished, instead of
// the package doing instrumentation, but when finished, instead of
// writing out instrumented source files, it directly emits a
// meta-data file for the package in question, essentially
// simulating the effect that you would get if you added a dummy