(t *testing.T)
| 120 | } |
| 121 | |
| 122 | func 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 | } |
nothing calls this directly
no test coverage detected