aboutsummaryrefslogtreecommitdiffhomepage
path: root/testdata/testing.go
diff options
context:
space:
mode:
Diffstat (limited to 'testdata/testing.go')
-rw-r--r--testdata/testing.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/testdata/testing.go b/testdata/testing.go
index 2c090da1b..4c1cf44ef 100644
--- a/testdata/testing.go
+++ b/testdata/testing.go
@@ -55,6 +55,8 @@ var tests = []testing.InternalTest{
var benchmarks = []testing.InternalBenchmark{}
+var fuzzes = []testing.InternalFuzzTarget{}
+
var examples = []testing.InternalExample{}
// A fake regexp matcher.
@@ -73,7 +75,7 @@ func fakeMatchString(pat, str string) (bool, error) {
func main() {
testing.Init()
flag.Set("test.run", ".*/B")
- m := testing.MainStart(matchStringOnly(fakeMatchString /*regexp.MatchString*/), tests, benchmarks, examples)
+ m := testing.MainStart(matchStringOnly(fakeMatchString /*regexp.MatchString*/), tests, benchmarks, fuzzes, examples)
exitcode := m.Run()
if exitcode != 0 {