diff --git a/client_test.go b/client_test.go index 30b35232..213f082b 100644 --- a/client_test.go +++ b/client_test.go @@ -441,7 +441,8 @@ func TestReadaheadPieces(t *testing.T) { } func TestMergingTrackersByAddingSpecs(t *testing.T) { - cl, _ := NewClient(&TestingConfig) + cl, err := NewClient(&TestingConfig) + require.NoError(t, err) defer cl.Close() spec := TorrentSpec{} T, new, _ := cl.AddTorrentSpec(&spec)