MCPcopy Create free account
hub / github.com/libgit2/git2go / compareStringList

Function compareStringList

reference_test.go:254–260  ·  view source on GitHub ↗
(t *testing.T, expected, actual []string)

Source from the content-addressed store, hash-verified

252}
253
254func compareStringList(t *testing.T, expected, actual []string) {
255 for i, v := range expected {
256 if actual[i] != v {
257 t.Fatalf("Bad list")
258 }
259 }
260}
261
262func checkRefType(t *testing.T, ref *Reference, kind ReferenceType) {
263 if ref.Type() == kind {

Callers 5

TestListRemotesFunction · 0.85
TestReferenceIteratorFunction · 0.85
TestListTagsFunction · 0.85
TestListTagsWithMatchFunction · 0.85
TestTagForeachFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…