style(dart): apply pinned formatter to existing files

Normalize three existing formatting differences with the pinned Dart formatter. No behavior changes.
This commit is contained in:
zarzet
2026-09-06 14:05:10 +07:00
parent 1dc4e77f42
commit 34dd2f0ae9
3 changed files with 33 additions and 29 deletions
@@ -47,14 +47,11 @@ void main() {
normalized.map((track) => track.albumArtist),
everyElement('Falling In Reverse'),
);
expect(
normalized.map((track) => track.artistName),
<String>[
'Falling In Reverse',
'Falling In Reverse, Jelly Roll',
'Falling In Reverse, Marilyn Manson',
],
);
expect(normalized.map((track) => track.artistName), <String>[
'Falling In Reverse',
'Falling In Reverse, Jelly Roll',
'Falling In Reverse, Marilyn Manson',
]);
});
test('preserves a stable joint album credit', () {
+26 -20
View File
@@ -296,26 +296,32 @@ void main() {
);
});
test('waits on one progress delta stream and preserves concurrent items', () {
expect(
RegExp(
r'Gobackend\.waitForAllDownloadProgressDelta\(',
).allMatches(workerSnapshotSource),
hasLength(1),
);
expect(
workerSnapshotSource,
isNot(contains('Gobackend.getAllDownloadProgress()')),
);
expect(workerSnapshotSource, contains('"item_deltas"'));
expect(
workerSnapshotSource,
contains('progressItemIds = orderedItemIds'),
);
expect(workerSnapshotSource, contains('progressCoordinatorEpoch'));
expect(workerSnapshotSource, contains('nativeWorkerProgressEpoch.get()'));
expect(nativeWorkerProviderSource, contains("snapshot['item_deltas']"));
});
test(
'waits on one progress delta stream and preserves concurrent items',
() {
expect(
RegExp(
r'Gobackend\.waitForAllDownloadProgressDelta\(',
).allMatches(workerSnapshotSource),
hasLength(1),
);
expect(
workerSnapshotSource,
isNot(contains('Gobackend.getAllDownloadProgress()')),
);
expect(workerSnapshotSource, contains('"item_deltas"'));
expect(
workerSnapshotSource,
contains('progressItemIds = orderedItemIds'),
);
expect(workerSnapshotSource, contains('progressCoordinatorEpoch'));
expect(
workerSnapshotSource,
contains('nativeWorkerProgressEpoch.get()'),
);
expect(nativeWorkerProviderSource, contains("snapshot['item_deltas']"));
},
);
Set<String> historyTableColumns(String source) {
final match = RegExp(