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

@ -15,7 +15,7 @@ func cleanupDBDir(dir, name string) {
os.RemoveAll(filepath.Join(dir, name) + ".db")
}
func testBackendGetSetDelete(t *testing.T, backend dbBackendType) {
func testBackendGetSetDelete(t *testing.T, backend DbBackendType) {
// Default
dir, dirname := cmn.Tempdir(fmt.Sprintf("test_backend_%s_", backend))
defer dir.Close()