Catch error creating new client in test
This commit is contained in:
parent
c371502cb3
commit
c03593bc01
|
@ -441,7 +441,8 @@ func TestReadaheadPieces(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestMergingTrackersByAddingSpecs(t *testing.T) {
|
func TestMergingTrackersByAddingSpecs(t *testing.T) {
|
||||||
cl, _ := NewClient(&TestingConfig)
|
cl, err := NewClient(&TestingConfig)
|
||||||
|
require.NoError(t, err)
|
||||||
defer cl.Close()
|
defer cl.Close()
|
||||||
spec := TorrentSpec{}
|
spec := TorrentSpec{}
|
||||||
T, new, _ := cl.AddTorrentSpec(&spec)
|
T, new, _ := cl.AddTorrentSpec(&spec)
|
||||||
|
|
Loading…
Reference in New Issue