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

Function TestCmdInitRejectsExtraArgs

internal/app/init_test.go:122–127  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

120}
121
122func TestCmdInitRejectsExtraArgs(t *testing.T) {
123 initTempFlowRoot(t)
124 if rc := cmdInit([]string{"extra"}); rc != 2 {
125 t.Errorf("expected rc=2 for extra args, got %d", rc)
126 }
127}

Callers

nothing calls this directly

Calls 2

initTempFlowRootFunction · 0.85
cmdInitFunction · 0.85

Tested by

no test coverage detected