MCPcopy Create free account
hub / github.com/auth0/auth0-cli / writeTestFile

Function writeTestFile

internal/cli/quickstart_detect_test.go:21–24  ·  view source on GitHub ↗

-- test helpers --.

(t *testing.T, dir, name, content string)

Source from the content-addressed store, hash-verified

19// -- test helpers --.
20
21func writeTestFile(t *testing.T, dir, name, content string) {
22 t.Helper()
23 require.NoError(t, os.WriteFile(filepath.Join(dir, name), []byte(content), 0600))
24}
25
26func mkTestDir(t *testing.T, dir, sub string) {
27 t.Helper()

Calls

no outgoing calls

Tested by

no test coverage detected