From 7a55d5809347d99cdff126acb1a7692f67c12c03 Mon Sep 17 00:00:00 2001 From: Alan Silva Date: Fri, 6 Nov 2026 17:58:27 +0000 Subject: [PATCH] Keep destination shortcut tests lint-clean --- app/test/shell/destination_shortcuts_test.dart | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/test/shell/destination_shortcuts_test.dart b/app/test/shell/destination_shortcuts_test.dart index 18b54c4c..bca4fca9 100644 --- a/app/test/shell/destination_shortcuts_test.dart +++ b/app/test/shell/destination_shortcuts_test.dart @@ -28,10 +28,13 @@ void main() { Future press({required bool shift}) async { await tester.sendKeyDownEvent(LogicalKeyboardKey.controlLeft); - if (shift) + if (shift) { await tester.sendKeyDownEvent(LogicalKeyboardKey.shiftLeft); + } await tester.sendKeyEvent(LogicalKeyboardKey.tab); - if (shift) await tester.sendKeyUpEvent(LogicalKeyboardKey.shiftLeft); + if (shift) { + await tester.sendKeyUpEvent(LogicalKeyboardKey.shiftLeft); + } await tester.sendKeyUpEvent(LogicalKeyboardKey.controlLeft); await tester.pump(); }