Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
50
func
newGitTestEngine() (*Engine, *bytes.Buffer) {
51
var
out bytes.Buffer
52
e := NewEngine(&out, &out,
""
)
53
return
e, &out
54
}
55
56
func
TestHandleGitStatus(t *testing.T) {
57
dir := newGitRepo(t)
Callers
7
TestHandleGitStatus
Function · 0.85
TestHandleGitBranch
Function · 0.85
TestHandleGitLog
Function · 0.85
TestHandleGitDiff
Function · 0.85
TestHandleGitDiff_NameOnlyAndStat
Function · 0.85
TestHandleGitChanged
Function · 0.85
TestHandleGit_BadFlag
Function · 0.85
Calls
1
NewEngine
Function · 0.70
Tested by
no test coverage detected