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

Function TestCmdAddProjectRequiresWorkDir

internal/app/add_test.go:82–87  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

80}
81
82func TestCmdAddProjectRequiresWorkDir(t *testing.T) {
83 setupFlowRoot(t)
84 if rc := cmdAdd([]string{"project", "NoWorkDir"}); rc == 0 {
85 t.Errorf("expected non-zero rc when --work-dir is missing")
86 }
87}
88
89func TestCmdAddProjectMkdirCreatesMissing(t *testing.T) {
90 setupFlowRoot(t)

Callers

nothing calls this directly

Calls 2

setupFlowRootFunction · 0.85
cmdAddFunction · 0.85

Tested by

no test coverage detected