Skip to content

Commit 5ccf120

Browse files
committed
fix: run dart format on tests
1 parent bc9f8bd commit 5ccf120

1 file changed

Lines changed: 15 additions & 5 deletions

File tree

test/core/rpc_test.dart

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,9 @@ void main() {
328328
payload: 'x',
329329
));
330330
} catch (e) {
331-
if (e is RpcError) error = e;
331+
if (e is RpcError) {
332+
error = e;
333+
}
332334
}
333335

334336
expect(error?.code, RpcError.unsupportedMethod);
@@ -369,7 +371,9 @@ void main() {
369371
payload: 'x',
370372
));
371373
} catch (e) {
372-
if (e is RpcError) error = e;
374+
if (e is RpcError) {
375+
error = e;
376+
}
373377
}
374378

375379
expect(error?.code, RpcError.applicationError);
@@ -405,7 +409,9 @@ void main() {
405409
payload: 'x',
406410
));
407411
} catch (e) {
408-
if (e is RpcError) error = e;
412+
if (e is RpcError) {
413+
error = e;
414+
}
409415
}
410416

411417
expect(error?.code, 101);
@@ -431,7 +437,9 @@ void main() {
431437
responseTimeoutMs: const Duration(seconds: 2),
432438
));
433439
} catch (e) {
434-
if (e is RpcError) error = e;
440+
if (e is RpcError) {
441+
error = e;
442+
}
435443
}
436444

437445
expect(error?.code, RpcError.responseTimeout);
@@ -486,7 +494,9 @@ void main() {
486494
responseTimeoutMs: const Duration(seconds: 30),
487495
))
488496
.catchError((e) {
489-
if (e is RpcError) error = e;
497+
if (e is RpcError) {
498+
error = e;
499+
}
490500
return '';
491501
});
492502

0 commit comments

Comments
 (0)