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

Function newGitTestEngine

pkg/coder/engine/commands_git_test.go:50–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48}
49
50func newGitTestEngine() (*Engine, *bytes.Buffer) {
51 var out bytes.Buffer
52 e := NewEngine(&out, &out, "")
53 return e, &out
54}
55
56func TestHandleGitStatus(t *testing.T) {
57 dir := newGitRepo(t)

Callers 7

TestHandleGitStatusFunction · 0.85
TestHandleGitBranchFunction · 0.85
TestHandleGitLogFunction · 0.85
TestHandleGitDiffFunction · 0.85
TestHandleGitChangedFunction · 0.85
TestHandleGit_BadFlagFunction · 0.85

Calls 1

NewEngineFunction · 0.70

Tested by

no test coverage detected