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

Function compareBytes

merge_test.go:248–254  ·  view source on GitHub ↗
(t *testing.T, expected, actual []byte)

Source from the content-addressed store, hash-verified

246}
247
248func compareBytes(t *testing.T, expected, actual []byte) {
249 for i, v := range expected {
250 if actual[i] != v {
251 t.Fatalf("Bad bytes")
252 }
253 }
254}

Callers 1

TestMergeSameFileFunction · 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…