MCPcopy Create free account
hub / github.com/coder/coder / TestMain

Function TestMain

cli/root_internal_test.go:28–35  ·  view source on GitHub ↗
(m *testing.M)

Source from the content-addressed store, hash-verified

26)
27
28func TestMain(m *testing.M) {
29 if runtime.GOOS == "windows" {
30 // Don't run goleak on windows tests, they're super flaky right now.
31 // See: https://github.com/coder/coder/issues/8954
32 os.Exit(m.Run())
33 }
34 goleak.VerifyTestMain(m, testutil.GoleakOptions...)
35}
36
37func Test_formatExamples(t *testing.T) {
38 t.Parallel()

Callers

nothing calls this directly

Calls 2

ExitMethod · 0.80
RunMethod · 0.65

Tested by

no test coverage detected