@@ -136,9 +136,7 @@ void main() {
136136 tree: WorkspaceController .seedWorkspace (),
137137 );
138138
139- testWidgets ('on a board the tab ✕ unpins and never closes' , (
140- tester,
141- ) async {
139+ testWidgets ('on a board the tab ✕ unpins and never closes' , (tester) async {
142140 final (conn, groups) = await runClose (tester, board (), (ref) {
143141 final state = ref.read (workspaceControllerProvider);
144142 final tab = activeTab (state)! ;
@@ -153,17 +151,18 @@ void main() {
153151 );
154152 });
155153
156- testWidgets ('in a worktree group the tab ✕ closes the session (unchanged)' , (
157- tester ,
158- ) async {
159- final (conn, _) = await runClose (tester, worktree (), (ref) {
160- final state = ref.read (workspaceControllerProvider);
161- final tab = activeTab (state)! ;
162- closeTabAndSession (ref, state.activeSplitId, tab.id, tab.sessionId);
163- });
154+ testWidgets (
155+ 'in a worktree group the tab ✕ closes the session (unchanged)' ,
156+ (tester ) async {
157+ final (conn, _) = await runClose (tester, worktree (), (ref) {
158+ final state = ref.read (workspaceControllerProvider);
159+ final tab = activeTab (state)! ;
160+ closeTabAndSession (ref, state.activeSplitId, tab.id, tab.sessionId);
161+ });
164162
165- expect (conn.sent.where ((m) => m['kind' ] == 'session.close' ).length, 1 );
166- });
163+ expect (conn.sent.where ((m) => m['kind' ] == 'session.close' ).length, 1 );
164+ },
165+ );
167166
168167 testWidgets ('⌘⇧W agrees with the ✕ on a board (one shared path)' , (
169168 tester,
0 commit comments