Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ newTestRepo
Function
newTestRepo
git/client_test.go:1555–1558 ·
view source on GitHub ↗
(t *testing.T)
Source
from the content-addressed store, hash-verified
1553
}
1554
1555
func
newTestRepo(t *testing.T) *testRepo {
1556
t.Helper()
1557
return
newTestRepoWithMode(t, false)
1558
}
1559
1560
func
newBareTestRepo(t *testing.T) *testRepo {
1561
t.Helper()
Callers
15
TestClientRemotesReturnsSortedRemotesWithResolutions
Function · 0.85
TestClientRemotesToleratesMissingResolutionConfig
Function · 0.85
TestClientUpdateRemoteURLUpdatesConfiguredRemote
Function · 0.85
TestClientUpdateRemoteURLReportsMissingRemote
Function · 0.85
TestClientSetRemoteResolutionAddsResolution
Function · 0.85
TestClientCurrentBranchReturnsCurrentBranch
Function · 0.85
TestClientCurrentBranchReportsDetachedHead
Function · 0.85
TestClientShowRefsReturnsExistingRefsAlongsideMissingRefError
Function · 0.85
TestClientShowRefsSeparatesRefsFromOptions
Function · 0.85
TestClientConfigReturnsConfiguredValue
Function · 0.85
TestClientConfigReportsUnknownKey
Function · 0.85
TestClientUncommittedChangeCountReturnsZeroForCleanRepository
Function · 0.85
Calls
2
newTestRepoWithMode
Function · 0.85
Helper
Method · 0.65
Tested by
no test coverage detected