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(); }