mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-05 03:27:48 +00:00
Vendored
+5
-1
@@ -34,9 +34,13 @@ var benchmarks = []testing.InternalBenchmark{}
|
||||
var examples = []testing.InternalExample{}
|
||||
|
||||
func main() {
|
||||
m := testing.MainStart(nil, tests, benchmarks, examples)
|
||||
m := testing.MainStart(testdeps{}, tests, benchmarks, examples)
|
||||
exitcode := m.Run()
|
||||
if exitcode != 0 {
|
||||
println("exitcode:", exitcode)
|
||||
}
|
||||
}
|
||||
|
||||
type testdeps struct{}
|
||||
|
||||
func (testdeps) MatchString(pat, str string) (bool, error) { return true, nil }
|
||||
|
||||
Reference in New Issue
Block a user