Skip to content

fix(tests): give mouse_hotkeys the capture shortcut fields - #337

Closed
ElliottH wants to merge 1 commit into
anomalyco:devfrom
ElliottH:fix-mouse-hotkeys-test
Closed

ElliottH wants to merge 1 commit into
anomalyco:devfrom
ElliottH:fix-mouse-hotkeys-test

Conversation

@ElliottH

Copy link
Copy Markdown
Contributor

Summary

dev's test build fails to compile:

error[E0063]: missing fields `capture` and `capture_list` in initializer of `app_settings::RuntimeHotkeys`
  --> src/suppression.rs

#209 added mouse_hotkeys() to suppression.rs's tests without RuntimeHotkeys' capture and capture_list fields. This sets both to None, like the other bindings the helper leaves unset.

Test plan

  • cargo test --bin hex --no-run compiles on macOS.
  • scripts/check passes on macOS (1,837 tests).

🤖 Generated with Claude Code

anomalyco#209 added mouse_hotkeys() in suppression.rs's tests without RuntimeHotkeys'
capture and capture_list fields, so the test build fails on dev with E0063.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@ElliottH

Copy link
Copy Markdown
Contributor Author

Fixed in #336

@ElliottH ElliottH closed this Oct 29, 2026
@ElliottH
ElliottH deleted the fix-mouse-hotkeys-test branch October 29, 2026 09:29
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.

1 participant