Fix #246
This commit is contained in:
parent
0290a1610a
commit
e9386d1016
|
@ -46,6 +46,12 @@ func TestClientDefault(t *testing.T) {
|
|||
cl.Close()
|
||||
}
|
||||
|
||||
func TestClientNilConfig(t *testing.T) {
|
||||
cl, err := NewClient(nil)
|
||||
require.NoError(t, err)
|
||||
cl.Close()
|
||||
}
|
||||
|
||||
func TestBoltPieceCompletionClosedWhenClientClosed(t *testing.T) {
|
||||
cfg := TestingConfig()
|
||||
pc, err := storage.NewBoltPieceCompletion(cfg.DataDir)
|
||||
|
|
Loading…
Reference in New Issue