summaryrefslogtreecommitdiff
path: root/internal/eventloop_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-01 23:17:56 +0200
committerPaul Buetow <paul@buetow.org>2026-03-01 23:17:56 +0200
commit9391ec7fb056b1006cdf36f21e3e37c0fa8071bb (patch)
treec484f4a7bb4fa029796702419e000530efbefe5a /internal/eventloop_test.go
parent4a9848af6fb83ffec682737e9046fd6db6d05ead (diff)
eventloop: inject runtime config instead of flags singleton (task 315)
Diffstat (limited to 'internal/eventloop_test.go')
-rw-r--r--internal/eventloop_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/eventloop_test.go b/internal/eventloop_test.go
index 9c26372..49ba3e8 100644
--- a/internal/eventloop_test.go
+++ b/internal/eventloop_test.go
@@ -96,7 +96,7 @@ func TestEventloop(t *testing.T) {
inCh := make(chan []byte)
outCh := make(chan *event.Pair)
- el := newEventLoop()
+ el := newEventLoop(eventLoopConfig{})
el.printCb = func(ev *event.Pair) { outCh <- ev }
go el.run(ctx, inCh)