@@ -40,7 +40,7 @@ void main() {
40
40
path: StoragePath .fromString (uploadedPaths[i]),
41
41
data: StorageDataPayload .bytes ('test content' .codeUnits),
42
42
bucket: StorageBucket .fromOutputs (
43
- 'Storage Integ Test secondary bucket' ),
43
+ 'Storage Integ Test secondary bucket' , ),
44
44
).result;
45
45
}
46
46
for (final path in uploadedPaths) {
@@ -57,7 +57,7 @@ void main() {
57
57
path: StoragePath .fromString (uniquePrefix),
58
58
options: StorageListOptions (
59
59
bucket: StorageBucket .fromOutputs (
60
- 'Storage Integ Test secondary bucket' ) ),
60
+ 'Storage Integ Test secondary bucket' ,), ),
61
61
).result;
62
62
for (var i = 0 ; i < 4 ; i++ ) {
63
63
expect (
@@ -133,7 +133,7 @@ void main() {
133
133
delimiter: '#' ,
134
134
),
135
135
bucket: StorageBucket .fromOutputs (
136
- 'Storage Integ Test secondary bucket' ),
136
+ 'Storage Integ Test secondary bucket' , ),
137
137
),
138
138
).result as S3ListResult ;
139
139
@@ -149,7 +149,7 @@ void main() {
149
149
150
150
expect (listResultSecondaryBucket.items.length, 3 );
151
151
expect (listResultSecondaryBucket.items.first.path,
152
- contains ('file5.txt' ));
152
+ contains ('file5.txt' ), );
153
153
154
154
expect (listResultSecondaryBucket.metadata.subPaths.length, 1 );
155
155
expect (
@@ -176,13 +176,13 @@ void main() {
176
176
options: StorageListOptions (
177
177
pageSize: 2 ,
178
178
bucket: StorageBucket .fromOutputs (
179
- 'Storage Integ Test secondary bucket' ),
179
+ 'Storage Integ Test secondary bucket' , ),
180
180
),
181
181
).result;
182
182
183
183
expect (listResultSecondaryBucket.items.length, 2 );
184
184
expect (listResultSecondaryBucket.items.first.path,
185
- contains ('file5.txt' ));
185
+ contains ('file5.txt' ), );
186
186
});
187
187
188
188
testWidgets ('should list files with pagination' , (_) async {
@@ -225,12 +225,12 @@ void main() {
225
225
options: StorageListOptions (
226
226
pluginOptions: const S3ListPluginOptions .listAll (),
227
227
bucket: StorageBucket .fromOutputs (
228
- 'Storage Integ Test secondary bucket' ),
228
+ 'Storage Integ Test secondary bucket' , ),
229
229
),
230
230
).result;
231
231
232
232
expect (listResultSecondaryBucket.items.length,
233
- uploadedPaths.length ~ / 2 );
233
+ uploadedPaths.length ~ / 2 , );
234
234
expect (listResultSecondaryBucket.nextToken, isNull);
235
235
});
236
236
});
0 commit comments