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

Function Test_TestCommand_FileWithDir

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

Source from the content-addressed store, hash-verified

77}
78
79func Test_TestCommand_FileWithDir(t *testing.T) {
80 err := TestCommand("testdata", TestCommandContext{})
81 assert.Equal(t, "Error testdata: is a directory\nUse --dir to test directories with multiple test files", err.Error())
82}
83
84func Test_TestCommand_Dir(t *testing.T) {
85 out := captureOutput(func() {

Callers

nothing calls this directly

Calls 1

TestCommandFunction · 0.85

Tested by

no test coverage detected