summaryrefslogtreecommitdiff
path: root/src/cmd/go/internal/test
diff options
context:
space:
mode:
authorJay Conrod <jayconrod@google.com>2021-09-21 16:30:06 -0700
committerJay Conrod <jayconrod@google.com>2021-09-24 21:42:31 +0000
commitd60ad1e068263832c711aaf17b6ccb1b7f71b000 (patch)
treecbff66284d5d7adf4f2a0336e822b3ed07b84691 /src/cmd/go/internal/test
parent1ce6fd03b8a72fd8346fb23a975124edf977d25e (diff)
downloadgo-git-d60ad1e068263832c711aaf17b6ccb1b7f71b000.tar.gz
testing: address feedback for dev.fuzz merge
Based on comments in CL 348469. Note that with this change, F.Fuzz no longer calls runtime.Goexit. This simplifies our logic and makes F.Fuzz more predictable. Change-Id: I6c3c65b0e8e8f261621cbe2f17375e8164ef60a0 Reviewed-on: https://go-review.googlesource.com/c/go/+/351316 Trust: Jay Conrod <jayconrod@google.com> Run-TryBot: Jay Conrod <jayconrod@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Bryan C. Mills <bcmills@google.com>
Diffstat (limited to 'src/cmd/go/internal/test')
-rw-r--r--src/cmd/go/internal/test/test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/go/internal/test/test.go b/src/cmd/go/internal/test/test.go
index c8305c7808..518555ecba 100644
--- a/src/cmd/go/internal/test/test.go
+++ b/src/cmd/go/internal/test/test.go
@@ -824,7 +824,7 @@ func runTest(ctx context.Context, cmd *base.Command, args []string) {
if testFuzz != "" && fuzzFlags != nil {
// Don't instrument packages which may affect coverage guidance but are
// unlikely to be useful. Most of these are used by the testing or
- // internal/fuzz concurrently with fuzzing.
+ // internal/fuzz packages concurrently with fuzzing.
var fuzzNoInstrument = map[string]bool{
"context": true,
"internal/fuzz": true,