Skip to content

Commit aa38d3a

Browse files
committed
formatted test/common/chrome_proxy_service_common.dart
1 parent 32c12a5 commit aa38d3a

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

dwds/test/common/chrome_proxy_service_common.dart

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1542,19 +1542,21 @@ void runTests({
15421542
expect(first.code!.name, 'printCount');
15431543
});
15441544

1545-
test('stack has a variable', () async {
1546-
final stack = await breakAt('callPrintCount');
1547-
expect(stack, isNotNull);
1548-
expect(stack.frames, hasLength(1));
1549-
final first = stack.frames!.first;
1550-
expect(first.kind, 'Regular');
1551-
expect(first.code!.kind, 'Dart');
1552-
expect(first.code!.name, '<closure>');
1553-
// TODO: Make this more precise once this case doesn't
1554-
// also include all the libraries.
1555-
expect(first.vars, hasLength(greaterThanOrEqualTo(1)));
1556-
final underscore = first.vars!.firstWhere((v) => v.name == '_');
1557-
expect(underscore, isNotNull);
1545+
test(
1546+
'stack has a variable',
1547+
() async {
1548+
final stack = await breakAt('callPrintCount');
1549+
expect(stack, isNotNull);
1550+
expect(stack.frames, hasLength(1));
1551+
final first = stack.frames!.first;
1552+
expect(first.kind, 'Regular');
1553+
expect(first.code!.kind, 'Dart');
1554+
expect(first.code!.name, '<closure>');
1555+
// TODO: Make this more precise once this case doesn't
1556+
// also include all the libraries.
1557+
expect(first.vars, hasLength(greaterThanOrEqualTo(1)));
1558+
final underscore = first.vars!.firstWhere((v) => v.name == '_');
1559+
expect(underscore, isNotNull);
15581560
},
15591561
skip: 'https://github.com/dart-lang/webdev/issues/2570',
15601562
);

0 commit comments

Comments
 (0)