Skip to content

Commit 6b271c7

Browse files
committed
fix formatting
1 parent dfd3d6f commit 6b271c7

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

packages/cloud_firestore/cloud_firestore/pipeline_example/integration_test/pipeline/pipeline_expressions_e2e.dart

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,9 @@ void runPipelineExpressionsTests() {
9494
.limit(5)
9595
.execute();
9696
expectResultCount(snapshot, 5);
97-
final withTags =
98-
snapshot.result.where((r) => r.data()!['tags_len'] == 2).toList();
97+
final withTags = snapshot.result
98+
.where((r) => r.data()!['tags_len'] == 2)
99+
.toList();
99100
expect(withTags.length, 1);
100101
expect(withTags.first.data()!['score'], 50);
101102
});
@@ -538,7 +539,8 @@ void runPipelineExpressionsTests() {
538539
expect(e.message!, contains('Unsupported expression'));
539540
}
540541
},
541-
skip: defaultTargetPlatform != TargetPlatform.iOS &&
542+
skip:
543+
defaultTargetPlatform != TargetPlatform.iOS &&
542544
defaultTargetPlatform != TargetPlatform.macOS,
543545
);
544546
});

packages/cloud_firestore/cloud_firestore/pipeline_example/integration_test/pipeline/pipeline_filter_sort_e2e.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,9 @@ void runPipelineFilterSortTests() {
8080
.limit(10)
8181
.execute();
8282
expectResultCount(snapshot, 3);
83-
final categories =
84-
snapshot.result.map((r) => r.data()!['category']).toList();
83+
final categories = snapshot.result
84+
.map((r) => r.data()!['category'])
85+
.toList();
8586
expect(categories..sort(), ['a', 'b', 'c']);
8687
});
8788
});

packages/cloud_firestore/cloud_firestore/pipeline_example/integration_test/pipeline/pipeline_unnest_union_e2e.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ void runPipelineUnnestUnionTests() {
2929
.limit(10)
3030
.execute();
3131
expectResultCount(snapshot, 5);
32-
final tags =
33-
snapshot.result.map((r) => r.data()!['tag'] as String).toList();
32+
final tags = snapshot.result
33+
.map((r) => r.data()!['tag'] as String)
34+
.toList();
3435
expect(tags..sort(), [
3536
'dart',
3637
'dart',

0 commit comments

Comments
 (0)