mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-09-23 01:50:44 +02:00
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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user