Commit f24a416e authored by Steven Allen's avatar Steven Allen

correctly run batch tests

parent 0706d00f
...@@ -32,8 +32,8 @@ func SubtestAll(t *testing.T, ds dstore.Datastore) { ...@@ -32,8 +32,8 @@ func SubtestAll(t *testing.T, ds dstore.Datastore) {
f(t, ds) f(t, ds)
}) })
} }
if _, ok := ds.(dstore.Batching); ok { if ds, ok := ds.(dstore.Batching); ok {
for _, f := range BasicSubtests { for _, f := range BatchSubtests {
t.Run(getFunctionName(f), func(t *testing.T) { t.Run(getFunctionName(f), func(t *testing.T) {
f(t, ds) f(t, ds)
}) })
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment