Skip to content

Commit d025901

Browse files
committed
formatting
1 parent 39b9276 commit d025901

2 files changed

Lines changed: 16 additions & 22 deletions

File tree

packages/devtools_app/lib/src/framework/observer/_memory_web.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ extension type _UserAgentSpecificMemoryBreakdownAttributionElement._(JSObject _)
6565
@JS()
6666
extension type _UserAgentSpecificMemoryBreakdownAttributionContainerElement._(
6767
JSObject _
68-
) implements JSObject {
68+
)
69+
implements JSObject {
6970
external String get id;
7071

7172
external String get url;

packages/devtools_app/test/service/timeline_streams_test.dart

Lines changed: 14 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -22,30 +22,23 @@ void main() {
2222
await env.tearDownEnvironment(force: true);
2323
});
2424

25-
test(
26-
'timeline streams initialized on vm service opened',
27-
() async {
28-
await env.setupEnvironment();
25+
test('timeline streams initialized on vm service opened', () async {
26+
await env.setupEnvironment();
2927

30-
// Await a short delay to make sure the timelineStreamManager is done
31-
// initializing.
32-
await delay();
28+
// Await a short delay to make sure the timelineStreamManager is done
29+
// initializing.
30+
await delay();
3331

34-
expect(serviceConnection.serviceManager.service, equals(env.service));
35-
expect(serviceConnection.timelineStreamManager, isNotNull);
36-
expect(
37-
serviceConnection.timelineStreamManager.basicStreams,
38-
isNotEmpty,
39-
);
40-
expect(
41-
serviceConnection.timelineStreamManager.advancedStreams,
42-
isNotEmpty,
43-
);
32+
expect(serviceConnection.serviceManager.service, equals(env.service));
33+
expect(serviceConnection.timelineStreamManager, isNotNull);
34+
expect(serviceConnection.timelineStreamManager.basicStreams, isNotEmpty);
35+
expect(
36+
serviceConnection.timelineStreamManager.advancedStreams,
37+
isNotEmpty,
38+
);
4439

45-
await env.tearDownEnvironment();
46-
},
47-
timeout: const Timeout.factor(4),
48-
);
40+
await env.tearDownEnvironment();
41+
}, timeout: const Timeout.factor(4));
4942

5043
test('notifies on stream change', () async {
5144
await env.setupEnvironment();

0 commit comments

Comments
 (0)