moved options into their own file and more tests

This commit is contained in:
2024-09-22 22:06:16 +01:00
parent 7ea3d18e08
commit 391900a12a
3 changed files with 106 additions and 5 deletions

View File

@@ -13,7 +13,7 @@ func TestFeed_Topics(t *testing.T) {
subscriberReady := make(chan struct{}, 1)
defer close(subscriberReady)
onSubscribe := WithOnSubscribe(func(count int) {
onSubscribe := WithOnSubscribe(func() {
subscriberReady <- struct{}{}
})