func TestPrefixIteratorNoMatchNil(t *testing.T) {
	for backend := range backends {
		t.Run(fmt.Sprintf("Prefix w/ backend %s", backend), func(t *testing.T) {
			db, dir := newTempDB(t, backend)
			defer os.RemoveAll(dir)
			itr := IteratePrefix(db, []byte("2"))
			checkInvalid(t, itr)
		})
	}
}
Empty iterator for empty db.
package db
import (
	"fmt"
	"os"
	"testing"
)