vendor tsgo
This commit is contained in:
14
tools/tsgo/internal/testrunner/runner.go
Normal file
14
tools/tsgo/internal/testrunner/runner.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package testrunner
|
||||
|
||||
import "testing"
|
||||
|
||||
type Runner interface {
|
||||
EnumerateTestFiles() []string
|
||||
RunTests(t *testing.T)
|
||||
}
|
||||
|
||||
func runTests(t *testing.T, runners []Runner) {
|
||||
for _, runner := range runners {
|
||||
runner.RunTests(t)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user