mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-05 05:22:58 -05:00
Tests: exempt the macOS-only Quick Pen touchpad test from never-run
main's CI fails at test-lint since #8808 merged: keys_held_during_a_touchpad_gesture_count_until_it_ends is compiled only on macOS, which no CI test leg runs. egui reports a touchpad gesture's phases only on macOS; on Windows and Linux it reads a touchpad's Ctrl+scroll as a pinch, so the test cannot run there. The allow comment names that reason.
This commit is contained in:
1 parent
3852fa4afb
commit
a0f7ba0ed1
1 file changed
+1
@@ -292,6 +292,7 @@ fn a_touchpad_steps_once_per_wheel_line() {
|
||||
/// Ctrl+scroll as a pinch, which carries no phases.
|
||||
#[cfg(target_os = "macos")]
|
||||
#[test]
|
||||
// test-lint: allow never-run egui reports touchpad gesture phases only on macOS
|
||||
fn keys_held_during_a_touchpad_gesture_count_until_it_ends() {
|
||||
let mut app = app();
|
||||
on_canvas(&mut app, |rig| {
|
||||
|
||||
Reference in new issue
Block a user