Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Unified Diff: runtime/observatory/tests/observatory_ui/persistent_handles_page/element_test.dart

Issue 2767533002: Revert "Fix observatory tests broken by running dartfmt." (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/observatory/tests/observatory_ui/persistent_handles_page/element_test.dart
diff --git a/runtime/observatory/tests/observatory_ui/persistent_handles_page/element_test.dart b/runtime/observatory/tests/observatory_ui/persistent_handles_page/element_test.dart
index ff3f97ca0115e76054beb30f437eaa9b4b0ec4dc..f2e4b848742a71698a3e0a7dca4bb750542e37ab 100644
--- a/runtime/observatory/tests/observatory_ui/persistent_handles_page/element_test.dart
+++ b/runtime/observatory/tests/observatory_ui/persistent_handles_page/element_test.dart
@@ -17,20 +17,21 @@ main() {
final repository = new PersistentHandlesRepositoryMock();
final instances = new InstanceRepositoryMock();
test('instantiation', () {
- final e = new PersistentHandlesPageElement(
- vm, isolate, events, notifs, repository, instances);
+ final e = new PersistentHandlesPageElement(vm, isolate, events, notifs,
+ repository, instances);
expect(e, isNotNull, reason: 'element correctly created');
expect(e.isolate, equals(isolate));
});
test('elements created after attachment', () async {
final repository = new PersistentHandlesRepositoryMock(
- getter: expectAsync((i) async {
- expect(i, equals(isolate));
- return const PersistentHandlesMock();
- }, count: 1));
+ getter: expectAsync((i) async {
+ expect(i, equals(isolate));
+ return const PersistentHandlesMock();
+ }, count: 1)
+ );
final instances = new InstanceRepositoryMock();
- final e = new PersistentHandlesPageElement(
- vm, isolate, events, notifs, repository, instances);
+ final e = new PersistentHandlesPageElement(vm, isolate, events, notifs,
+ repository, instances);
document.body.append(e);
await e.onRendered.first;
expect(e.children.length, isNonZero, reason: 'has elements');

Powered by Google App Engine
This is Rietveld 408576698