dart format whole tree

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-05-03 21:51:59 +02:00
co-authored by Claude
parent c436e72c5c
commit 9c7ec008dc
102 changed files with 1176 additions and 1282 deletions
+2 -4
View File
@@ -185,8 +185,7 @@ index abc..def 100644
});
test('returns unstaged diff after modification', () async {
await File('${sandbox.path}/file.txt')
.writeAsString('line1\nmodified\n');
await File('${sandbox.path}/file.txt').writeAsString('line1\nmodified\n');
final diffs = await gitDiff(sandbox);
expect(diffs, hasLength(1));
expect(diffs.first.path, 'file.txt');
@@ -194,8 +193,7 @@ index abc..def 100644
});
test('returns staged diff with staged: true', () async {
await File('${sandbox.path}/file.txt')
.writeAsString('line1\nmodified\n');
await File('${sandbox.path}/file.txt').writeAsString('line1\nmodified\n');
await Process.run(
'git',
['add', 'file.txt'],