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

Function TestCmdWorkdirAddRequiresExistingPath

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

Source from the content-addressed store, hash-verified

76}
77
78func TestCmdWorkdirAddRequiresExistingPath(t *testing.T) {
79 setupArchiveTestEnv(t)
80 if rc := cmdWorkdir([]string{"add", "/definitely/not/here/xyz"}); rc == 0 {
81 t.Errorf("expected error for non-existent path")
82 }
83}
84
85func TestCmdWorkdirList(t *testing.T) {
86 root := setupArchiveTestEnv(t)

Callers

nothing calls this directly

Calls 2

setupArchiveTestEnvFunction · 0.85
cmdWorkdirFunction · 0.85

Tested by

no test coverage detected