1
0
mirror of https://github.com/taigrr/bitcask synced 2025-01-18 04:03:17 -08:00

fix test compilation (#97)

This commit is contained in:
Ignacio Hagopian 2019-09-09 17:25:09 -03:00 committed by James Mills
parent d59d5ad8c2
commit 7e0fa151f7

View File

@ -19,7 +19,7 @@ func TestWriteIndex(t *testing.T) {
at, expectedSerializedSize := getSampleTree()
var b bytes.Buffer
err := WriteIndex(at, &b)
err := writeIndex(at, &b)
if err != nil {
t.Fatalf("writing index failed: %v", err)
}