fixed iterator error message to report the correct function

This commit is contained in:
StephenButtolph 2020-05-05 14:06:30 -04:00
parent 695290fb59
commit 9b583ccc6e
1 changed files with 1 additions and 1 deletions

View File

@ -644,7 +644,7 @@ func TestIteratorMemorySafety(t *testing.T, db Database) {
iterator := db.NewIterator()
if iterator == nil {
t.Fatalf("db.NewIteratorWithStartAndPrefix returned nil")
t.Fatalf("db.NewIterator returned nil")
}
defer iterator.Release()