Write-ahead log implementation for Golang.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
232 B

package wal
import "testing"
func TestNilCursor(t *testing.T) {
c := nilCursor{}
r1, r2, r3, r4 := c.Find(1), c.Head(), c.Tail(), c.Next(nil)
if r1 != nil || r2 != nil || r3 != nil || r4 != nil {
t.Fatal(r1, r2, r3, r4)
}
}