Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for InternalExample (0.13 sec)

  1. src/testing/testing.go

    // Systems simulating "go test" should be updated to use MainStart.
    func Main(matchString func(pat, str string) (bool, error), tests []InternalTest, benchmarks []InternalBenchmark, examples []InternalExample) {
    	os.Exit(MainStart(matchStringOnly(matchString), tests, benchmarks, nil, examples).Run())
    }
    
    // M is a type passed to a TestMain function to run the actual tests.
    type M struct {
    	deps        testDeps
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
Back to top