MCPcopy Create free account
hub / github.com/go-git/go-git / TestCountLines

Method TestCountLines

common_test.go:212–217  ·  view source on GitHub ↗
(c *C)

Source from the content-addressed store, hash-verified

210}
211
212func (s *SuiteCommon) TestCountLines(c *C) {
213 for i, t := range countLinesTests {
214 o := countLines(t.i)
215 c.Assert(o, Equals, t.e, Commentf("subtest %d, input=%q", i, t.i))
216 }
217}
218
219func AssertReferences(c *C, r *Repository, expected map[string]string) {
220 for name, target := range expected {

Callers

nothing calls this directly

Calls 1

countLinesFunction · 0.85

Tested by

no test coverage detected