(c *C, fs billy.Filesystem, path string)
| 26 | var _ = Suite(&CommitgraphSuite{}) |
| 27 | |
| 28 | func testReadIndex(c *C, fs billy.Filesystem, path string) commitgraph.Index { |
| 29 | reader, err := fs.Open(path) |
| 30 | c.Assert(err, IsNil) |
| 31 | index, err := commitgraph.OpenFileIndex(reader) |
| 32 | c.Assert(err, IsNil) |
| 33 | c.Assert(index, NotNil) |
| 34 | return index |
| 35 | } |
| 36 | |
| 37 | func testDecodeHelper(c *C, index commitgraph.Index) { |
| 38 | // Root commit |
no test coverage detected