lmdb: various fixes so query works.
This commit is contained in:
@@ -111,7 +111,7 @@ func FuzzQuery(f *testing.F) {
|
||||
|
||||
fmt.Println(" expected result")
|
||||
for i := range expected {
|
||||
fmt.Println(" ", expected[i].CreatedAt, expected[i].ID[0:8], " ", res[i].CreatedAt, res[i].ID[0:8], " ", i)
|
||||
fmt.Println(" ", expected[i].CreatedAt, expected[i].ID.Hex()[0:8], " ", res[i].CreatedAt, res[i].ID.Hex()[0:8], " ", i)
|
||||
}
|
||||
|
||||
require.Equal(t, expected[0].CreatedAt, res[0].CreatedAt, "first result is wrong")
|
||||
|
||||
Reference in New Issue
Block a user