We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e35ed83 commit 47c9379Copy full SHA for 47c9379
basic_ds_test.go
@@ -1,6 +1,8 @@
1
package datastore_test
2
3
import (
4
+ "io/ioutil"
5
+ "log"
6
"testing"
7
8
dstore "github.com/ipfs/go-datastore"
@@ -19,6 +21,8 @@ func TestNullDatastore(t *testing.T) {
19
21
}
20
22
23
func TestLogDatastore(t *testing.T) {
24
+ defer log.SetOutput(log.Writer())
25
+ log.SetOutput(ioutil.Discard)
26
ds := dstore.NewLogDatastore(dstore.NewMapDatastore(), "")
27
dstest.SubtestAll(t, ds)
28
0 commit comments