MCPcopy Create free account
hub / github.com/commander-cli/commander / Test_TestCommand_DefaultFile

Function Test_TestCommand_DefaultFile

pkg/app/test_command_test.go:28–31  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

26}
27
28func Test_TestCommand_DefaultFile(t *testing.T) {
29 err := TestCommand("", TestCommandContext{Verbose: true})
30 assert.Contains(t, err.Error(), "commander.yaml")
31}
32
33func Test_TestCommand(t *testing.T) {
34 err := TestCommand("commander.yaml", TestCommandContext{})

Callers

nothing calls this directly

Calls 1

TestCommandFunction · 0.85

Tested by

no test coverage detected