MCPcopy Create free account
hub / github.com/diillson/chatcli / MockCommandExecutor

Struct MockCommandExecutor

utils/git_utils_test.go:12–14  ·  view source on GitHub ↗

MockCommandExecutor é o nosso mock para a interface CommandExecutor.

Source from the content-addressed store, hash-verified

10
11// MockCommandExecutor é o nosso mock para a interface CommandExecutor.
12type MockCommandExecutor struct {
13 mock.Mock
14}
15
16func (m *MockCommandExecutor) Run(name string, arg ...string) error {
17 args := m.Called(name, arg)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected