]> Cypherpunks repositories - gostls13.git/commit
[dev.fuzz] testing: cleanup a few small things
authorKatie Hockman <katie@golang.org>
Mon, 19 Oct 2020 15:04:37 +0000 (11:04 -0400)
committerFilippo Valsorda <filippo@golang.org>
Fri, 4 Dec 2020 18:17:29 +0000 (19:17 +0100)
commitf5d0fa82af1dbb752bb256f0761ec3f50f58db8f
treeb4c9018c59c1c0cec1c4b2348b7980c42d6973da
parent9f3aa113a9adfceb5ab13dc9abd0921f8d118e15
[dev.fuzz] testing: cleanup a few small things

Deletes the exported testing.Fuzz function
which would run a standalone fuzz target.
Similar to RunFuzzing and RunFuzzTargets,
which were previously removed, this will
likely be too complex to support.

Moves the deferred Exit in f.Fuzz higher up
the function so it is always run.

Change-Id: I9ea6210dc30dee8c2a943bfb8077225c369cfb95
Reviewed-on: https://go-review.googlesource.com/c/go/+/263642
Trust: Katie Hockman <katie@golang.org>
Run-TryBot: Katie Hockman <katie@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
src/testing/fuzz.go