run dart format over the scorpion-fix files

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-06-12 01:40:09 +02:00
co-authored by Claude Fable 5
parent 41af83f024
commit 4443e1c834
2 changed files with 20 additions and 5 deletions
+12 -2
View File
@@ -321,13 +321,23 @@ void main() {
group('lifecycle hardening (T-377)', () {
test('a throw mid-contribution unwinds everything already mounted', () async {
// The tab mounts first, then the duplicate command id throws.
f.services.commands.register(CommandContribution(id: 'taken', command: 'taken.cmd', run: (_) async => IpcResponse.ok(id: '')));
f.services.commands.register(
CommandContribution(
id: 'taken',
command: 'taken.cmd',
run: (_) async => IpcResponse.ok(id: ''),
),
);
f.services.extensions.register(
_Ext(
id: 'half-mounts',
contributions: [
TabContribution(id: 'half.view', slot: Slots.workspace, title: 'T', build: (_) => const SizedBox.shrink()),
CommandContribution(id: 'half.cmd', command: 'taken.cmd', run: (_) async => IpcResponse.ok(id: '')),
CommandContribution(
id: 'half.cmd',
command: 'taken.cmd',
run: (_) async => IpcResponse.ok(id: ''),
),
],
),
);