MCPcopy Index your code
hub / github.com/google/go-github / TestFormat

Function TestFormat

tools/metadata/main_test.go:131–137  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

129}
130
131func TestFormat(t *testing.T) {
132 t.Parallel()
133 res := runTest(t, "testdata/format", "format")
134 res.assertOutput("", "")
135 res.assertNoErr()
136 res.checkGolden()
137}
138
139func updateGoldenDir(t *testing.T, origDir, resultDir, goldenDir string) {
140 t.Helper()

Callers

nothing calls this directly

Calls 4

runTestFunction · 0.85
assertOutputMethod · 0.80
assertNoErrMethod · 0.80
checkGoldenMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…