DbBackend -> DBBackend

This commit is contained in:
Ethan Buchman
2018-02-02 22:31:17 -05:00
parent cbc63518e5
commit 1b5176003a
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()