all: drop support for Go 1.16 and Go 1.17

This commit is contained in:
Ayke van Laethem
2022-06-11 17:24:54 +02:00
committed by Ron Evans
parent f094e895c5
commit 4695da83b7
33 changed files with 249 additions and 628 deletions
+3 -1
View File
@@ -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 {