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:
parent
d59d5ad8c2
commit
7e0fa151f7
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user