Commit 10b34df0 authored by Steven Allen's avatar Steven Allen

run the test suite against the map datastore

parent 813d38e7
package datastore_test
import (
"testing"
dstore "github.com/ipfs/go-datastore"
dstest "github.com/ipfs/go-datastore/test"
)
func TestMapDatastore(t *testing.T) {
ds := dstore.NewMapDatastore()
dstest.SubtestAll(t, ds)
}
func TestNullDatastore(t *testing.T) {
ds := dstore.NewNullDatastore()
// The only test that passes. Nothing should be found.
dstest.SubtestNotFounds(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