Export DbBackendType in order to fix IAVL tests

This commit is contained in:
Adrian Brink
2018-02-02 18:50:24 +01:00
parent 2e76546223
commit cbc63518e5
3 changed files with 11 additions and 11 deletions

View File

@ -45,7 +45,7 @@ func checkValuePanics(t *testing.T, itr Iterator) {
assert.Panics(t, func() { itr.Key() }, "checkValuePanics expected panic but didn't")
}
func newTempDB(t *testing.T, backend dbBackendType) (db DB) {
func newTempDB(t *testing.T, backend DbBackendType) (db DB) {
dir, dirname := cmn.Tempdir("test_go_iterator")
db = NewDB("testdb", backend, dirname)
dir.Close()