Add type 'Index' to backend
This commit is contained in:
parent
8f3b91ba32
commit
87ce38b13a
5 changed files with 15 additions and 1 deletions
|
@ -13,7 +13,10 @@ import (
|
|||
)
|
||||
|
||||
func testBackend(b backend.Backend, t *testing.T) {
|
||||
for _, tpe := range []backend.Type{backend.Data, backend.Key, backend.Lock, backend.Snapshot, backend.Tree} {
|
||||
for _, tpe := range []backend.Type{
|
||||
backend.Data, backend.Key, backend.Lock,
|
||||
backend.Snapshot, backend.Tree, backend.Index,
|
||||
} {
|
||||
// detect non-existing files
|
||||
for _, test := range TestStrings {
|
||||
id, err := backend.ParseID(test.id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue