diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-06 15:50:50 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-06 15:50:50 +0200 |
| commit | 58825fb53b900aedd3b161ff0e3b769a2cf188ab (patch) | |
| tree | 2b805fabfba124cb794006f1b4b16ed05f5e7da0 /internal/eventloop_error_handling_test.go | |
| parent | 99b02bf8c389a793df5d5986db05eed7e459f7b1 (diff) | |
fix: return errors for invalid event filters (task 382)
Diffstat (limited to 'internal/eventloop_error_handling_test.go')
| -rw-r--r-- | internal/eventloop_error_handling_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/eventloop_error_handling_test.go b/internal/eventloop_error_handling_test.go index 12f9b2f..8361dea 100644 --- a/internal/eventloop_error_handling_test.go +++ b/internal/eventloop_error_handling_test.go @@ -8,7 +8,7 @@ import ( ) func TestTracepointExitedMalformedOpenExitDoesNotPanicAndNotifies(t *testing.T) { - el := newEventLoop(eventLoopConfig{}) + el := mustNewEventLoop(t, eventLoopConfig{}) warnings := make(chan string, 1) el.warningCb = func(message string) { warnings <- message } @@ -48,7 +48,7 @@ func TestTracepointExitedMalformedOpenExitDoesNotPanicAndNotifies(t *testing.T) } func TestTracepointExitedMalformedOpenByHandleAtExitDoesNotPanicAndNotifies(t *testing.T) { - el := newEventLoop(eventLoopConfig{}) + el := mustNewEventLoop(t, eventLoopConfig{}) warnings := make(chan string, 1) el.warningCb = func(message string) { warnings <- message } @@ -84,7 +84,7 @@ func TestTracepointExitedMalformedOpenByHandleAtExitDoesNotPanicAndNotifies(t *t } func TestProcessRawEventUnknownTypeDoesNotPanicAndNotifies(t *testing.T) { - el := newEventLoop(eventLoopConfig{}) + el := mustNewEventLoop(t, eventLoopConfig{}) warnings := make(chan string, 1) el.warningCb = func(message string) { warnings <- message } |
