Index: runtime/observatory/tests/observatory_ui/context_view/element_test.dart |
diff --git a/runtime/observatory/tests/observatory_ui/context_view/element_test.dart b/runtime/observatory/tests/observatory_ui/context_view/element_test.dart |
index 01e85d68af58fb5bfcf04470e81ece33831ed4cc..428aefd179f11db2e5124cc5dc283cd72e4140e7 100644 |
--- a/runtime/observatory/tests/observatory_ui/context_view/element_test.dart |
+++ b/runtime/observatory/tests/observatory_ui/context_view/element_test.dart |
@@ -28,20 +28,23 @@ main() { |
final instances = new InstanceRepositoryMock(); |
test('instantiation', () { |
final e = new ContextViewElement(vm, isolate, context, events, notifs, |
- contexts, retainedSizes, reachableSizes, inbounds, paths, instances); |
+ contexts, retainedSizes, reachableSizes, |
+ inbounds, paths, instances); |
expect(e, isNotNull, reason: 'element correctly created'); |
expect(e.isolate, equals(isolate)); |
expect(e.context, equals(context)); |
}); |
test('elements created after attachment', () async { |
final contexts = new ContextRepositoryMock( |
- getter: expectAsync((i, id) async { |
- expect(i, equals(isolate)); |
- expect(id, equals(context.id)); |
- return context; |
- }, count: 1)); |
+ getter: expectAsync((i, id) async { |
+ expect(i, equals(isolate)); |
+ expect(id, equals(context.id)); |
+ return context; |
+ }, count: 1) |
+ ); |
final e = new ContextViewElement(vm, isolate, context, events, notifs, |
- contexts, retainedSizes, reachableSizes, inbounds, paths, instances); |
+ contexts, retainedSizes, reachableSizes, |
+ inbounds, paths, instances); |
document.body.append(e); |
await e.onRendered.first; |
expect(e.children.length, isNonZero, reason: 'has elements'); |