Fix torrent handler
Former-commit-id: 2bf1e2e21137e4020d2ace31e4560e9a97684403
This commit is contained in:
@@ -52,7 +52,7 @@ func fakeRSSServer() *httptest.Server {
|
||||
func TestMainLoopCtx(t *testing.T) {
|
||||
ctx, can := context.WithCancel(context.Background())
|
||||
can()
|
||||
c := Config{
|
||||
c := &Config{
|
||||
interval: time.Hour,
|
||||
ctx: ctx,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user