Test: cover F5, F9 and F10 alone in the tool-key test

This commit is contained in:
audiosyncrasy committed 2026-10-24 00:41:55 -04:00
1 parent 82202fe88c
commit bf56b66b5c
1 file changed
+2 -1
+2 -1
View File
@@ -292,7 +292,8 @@ fn f6_f7_and_f7_f8_in_either_order_choose_the_smart_tool() {
frame(&ctx, &mut app, vec![key_event(first, false, Modifiers::NONE)]);
assert_eq!(tool(&app), "smart", "{first:?}+{second:?}");
}
for (k, want) in [(Key::F6, "trim"), (Key::F7, "selector"), (Key::F8, "grabber")] {
let alone = [(Key::F5, "zoom"), (Key::F6, "trim"), (Key::F7, "selector"), (Key::F8, "grabber"), (Key::F9, "scrubber"), (Key::F10, "pencil")];
for (k, want) in alone {
frame(&ctx, &mut app, key(k));
assert_eq!(tool(&app), want, "{k:?} alone");
}