MCPcopy
hub / github.com/cloudflare/cloudflared / TestReadAuthURL_NotExists

Function TestReadAuthURL_NotExists

token/lockfile_test.go:74–79  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

72}
73
74func TestReadAuthURL_NotExists(t *testing.T) {
75 dir := t.TempDir()
76 tokenPath := filepath.Join(dir, "token")
77
78 assert.Empty(t, readAuthURL(tokenPath))
79}
80
81func TestTryCreateLockFile_Success(t *testing.T) {
82 dir := t.TempDir()

Callers

nothing calls this directly

Calls 1

readAuthURLFunction · 0.85

Tested by

no test coverage detected