MCPcopy Create free account
hub / github.com/remotemobprogramming/mob / TestExecuteInvalidCommandKicksOffHelp

Function TestExecuteInvalidCommandKicksOffHelp

mob_test.go:181–187  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

179}
180
181func TestExecuteInvalidCommandKicksOffHelp(t *testing.T) {
182 output, _ := setup(t)
183
184 execute("whatever", []string{}, config.GetDefaultConfiguration())
185
186 assertOutputContains(t, output, "Basic Commands:")
187}
188
189func TestExecuteAnyCommandWithHelpArgumentShowsHelpOutput(t *testing.T) {
190 output, _ := setup(t)

Callers

nothing calls this directly

Calls 3

setupFunction · 0.85
executeFunction · 0.85
assertOutputContainsFunction · 0.85

Tested by

no test coverage detected