Skip to content

Commit

Permalink
testing: add datastore testsuite
Browse files Browse the repository at this point in the history
  • Loading branch information
aschmahmann committed Nov 26, 2019
1 parent 2007eba commit fb84717
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ os:
language: go

go:
- 1.11.x
- 1.12.x

env:
global:
Expand Down
12 changes: 12 additions & 0 deletions measure_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package measure

import (
"testing"

dstest "github.com/ipfs/go-datastore/test"
)

func TestSuite(t *testing.T) {
d := New("measure", dstest.NewTestDatastore(false))
dstest.SubtestAll(t, d)
}

0 comments on commit fb84717

Please sign in to comment.