mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-08 04:53:42 +00:00
all: drop support for Go 1.16 and Go 1.17
This commit is contained in:
committed by
Ron Evans
parent
f094e895c5
commit
4695da83b7
Vendored
+3
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user