MCPcopy Create free account
hub / github.com/Facets-cloud/flow / TestDetectGitRemoteMissing

Function TestDetectGitRemoteMissing

internal/app/workdir_test.go:231–236  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

229}
230
231func TestDetectGitRemoteMissing(t *testing.T) {
232 dir := t.TempDir()
233 if got := detectGitRemote(dir); got != "" {
234 t.Errorf("want empty for non-git dir, got %q", got)
235 }
236}
237
238func TestDetectGitRemoteBasic(t *testing.T) {
239 dir := t.TempDir()

Callers

nothing calls this directly

Calls 1

detectGitRemoteFunction · 0.85

Tested by

no test coverage detected