Skip to content

inotify,kqueue: extract test_event_loop helpers - #982

Merged
JohnTitor merged 1 commit into
notify-rs:mainfrom
daandemeyer:push-nxsrkusstvnn
Aug 15, 2026
Merged

inotify,kqueue: extract test_event_loop helpers#982
JohnTitor merged 1 commit into
notify-rs:mainfrom
daandemeyer:push-nxsrkusstvnn

Conversation

@daandemeyer

Copy link
Copy Markdown
Contributor

Both backends' tests built their event loop inline, five times each. The
repetition is noise in every test that follows, and it means a later
change to how a test event loop is constructed has to be made ten times.

Extract one helper per backend. No behavior change.

Signed-off-by: Daan De Meyer daan@amutable.com

Both backends' tests built their event loop inline, five times each. The
repetition is noise in every test that follows, and it means a later
change to how a test event loop is constructed has to be made ten times.

Extract one helper per backend. No behavior change.

Signed-off-by: Daan De Meyer <daan@amutable.com>

@JohnTitor JohnTitor left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@JohnTitor
JohnTitor merged commit 6fce105 into notify-rs:main Aug 15, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants