Source file
src/runtime/importx_test.go
1
2
3
4
5
6
7
8
9 package runtime
10
11 type TestingT interface {
12 Cleanup(func())
13 Error(args ...any)
14 Errorf(format string, args ...any)
15 Fail()
16 FailNow()
17 Failed() bool
18 Fatal(args ...any)
19 Fatalf(format string, args ...any)
20 Helper()
21 Log(args ...any)
22 Logf(format string, args ...any)
23 Name() string
24 Setenv(key, value string)
25 Skip(args ...any)
26 SkipNow()
27 Skipf(format string, args ...any)
28 Skipped() bool
29 TempDir() string
30 }
31
32 var FmtSprintf func(format string, a ...any) string
33 var TestenvOptimizationOff func() bool
34
View as plain text