Skip to content

Commit 43b2ba7

Browse files
committed
run dart fix --apply
1 parent 8ac5c4d commit 43b2ba7

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

dio/test/dio_event_processor_test.dart

+12-12
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ void main() {
6767
throwable: throwable,
6868
exceptions: [
6969
fixture.sentryError(throwable),
70-
fixture.sentryError(dioError)
70+
fixture.sentryError(dioError),
7171
],
7272
);
7373
final processedEvent = sut.apply(event) as SentryEvent;
@@ -96,7 +96,7 @@ void main() {
9696
throwable: throwable,
9797
exceptions: [
9898
fixture.sentryError(throwable),
99-
fixture.sentryError(dioError)
99+
fixture.sentryError(dioError),
100100
],
101101
);
102102
final processedEvent = sut.apply(event) as SentryEvent;
@@ -125,7 +125,7 @@ void main() {
125125
throwable: throwable,
126126
exceptions: [
127127
fixture.sentryError(throwable),
128-
fixture.sentryError(dioError)
128+
fixture.sentryError(dioError),
129129
],
130130
);
131131
final processedEvent = sut.apply(event) as SentryEvent;
@@ -177,7 +177,7 @@ void main() {
177177
throwable: throwable,
178178
exceptions: [
179179
fixture.sentryError(throwable),
180-
fixture.sentryError(dioError)
180+
fixture.sentryError(dioError),
181181
],
182182
);
183183
final processedEvent = sut.apply(event) as SentryEvent;
@@ -207,7 +207,7 @@ void main() {
207207
data: 'foobar',
208208
headers: Headers.fromMap(<String, List<String>>{
209209
'foo': ['bar'],
210-
'set-cookie': ['foo=bar']
210+
'set-cookie': ['foo=bar'],
211211
}),
212212
requestOptions: request,
213213
isRedirect: true,
@@ -219,7 +219,7 @@ void main() {
219219
throwable: throwable,
220220
exceptions: [
221221
fixture.sentryError(throwable),
222-
fixture.sentryError(dioError)
222+
fixture.sentryError(dioError),
223223
],
224224
);
225225
final processedEvent = sut.apply(event) as SentryEvent;
@@ -248,7 +248,7 @@ void main() {
248248
response: Response<dynamic>(
249249
data: 'foobar',
250250
headers: Headers.fromMap(<String, List<String>>{
251-
'foo': ['bar']
251+
'foo': ['bar'],
252252
}),
253253
requestOptions: request,
254254
isRedirect: true,
@@ -260,7 +260,7 @@ void main() {
260260
throwable: throwable,
261261
exceptions: [
262262
fixture.sentryError(throwable),
263-
fixture.sentryError(dioError)
263+
fixture.sentryError(dioError),
264264
],
265265
);
266266
final processedEvent = sut.apply(event) as SentryEvent;
@@ -320,7 +320,7 @@ void main() {
320320
throwable: throwable,
321321
exceptions: [
322322
fixture.sentryError(throwable),
323-
fixture.sentryError(dioError)
323+
fixture.sentryError(dioError),
324324
],
325325
);
326326
final processedEvent = sut.apply(event) as SentryEvent;
@@ -338,7 +338,7 @@ void main() {
338338
final dataByType = {
339339
ResponseType.plain: ['plain'],
340340
ResponseType.bytes: [
341-
[1337]
341+
[1337],
342342
],
343343
ResponseType.json: [
344344
9001,
@@ -347,7 +347,7 @@ void main() {
347347
true,
348348
['list'],
349349
{'map-key': 'map-value'},
350-
]
350+
],
351351
};
352352

353353
for (final entry in dataByType.entries) {
@@ -375,7 +375,7 @@ void main() {
375375
throwable: throwable,
376376
exceptions: [
377377
fixture.sentryError(throwable),
378-
fixture.sentryError(dioError)
378+
fixture.sentryError(dioError),
379379
],
380380
);
381381
final processedEvent = sut.apply(event) as SentryEvent;

dio/test/failed_request_interceptor_test.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ class Fixture {
113113

114114
FailedRequestInterceptor getSut({
115115
List<SentryStatusCode> failedRequestStatusCodes = const [
116-
SentryStatusCode.defaultRange()
116+
SentryStatusCode.defaultRange(),
117117
],
118118
List<String> failedRequestTargets = const ['.*'],
119119
}) {

dio/test/mocks.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ final fakeEvent = SentryEvent(
4242
type: 'navigation',
4343
data: <String, dynamic>{'screen': 'MainActivity', 'state': 'created'},
4444
level: SentryLevel.info,
45-
)
45+
),
4646
],
4747
contexts: Contexts(
4848
operatingSystem: const SentryOperatingSystem(

sqflite/test/mocks/mocks.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ ISentrySpan startTransactionShim(
3333
DatabaseExecutor,
3434
],
3535
customMocks: [
36-
MockSpec<Hub>(fallbackGenerators: {#startTransaction: startTransactionShim})
36+
MockSpec<Hub>(fallbackGenerators: {#startTransaction: startTransactionShim}),
3737
],
3838
)
3939
void main() {}

0 commit comments

Comments
 (0)