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

Unified Diff: runtime/observatory/tests/observatory_ui/mocks/objects/persistent_handles.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/mocks/objects/persistent_handles.dart
diff --git a/runtime/observatory/tests/observatory_ui/mocks/objects/persistent_handles.dart b/runtime/observatory/tests/observatory_ui/mocks/objects/persistent_handles.dart
index 692644982abd519c1266502d7a8786df28e8f270..5e65785655e431bb9fd986929d2d4b8166709cb1 100644
--- a/runtime/observatory/tests/observatory_ui/mocks/objects/persistent_handles.dart
+++ b/runtime/observatory/tests/observatory_ui/mocks/objects/persistent_handles.dart
@@ -8,8 +8,8 @@ class PersistentHandlesMock implements M.PersistentHandles {
final Iterable<M.PersistentHandle> elements;
final Iterable<M.WeakPersistentHandle> weakElements;
- const PersistentHandlesMock(
- {this.elements: const [], this.weakElements: const []});
+ const PersistentHandlesMock({this.elements: const [],
+ this.weakElements: const []});
}
class PersistentHandleMock implements M.PersistentHandle {
@@ -25,10 +25,8 @@ class WeakPersistentHandleMock implements M.WeakPersistentHandle {
final String callbackSymbolName;
final String callbackAddress;
- const WeakPersistentHandleMock(
- {this.object: const InstanceRefMock(),
- this.externalSize: 0,
- this.peer: '0x0',
- this.callbackSymbolName: 'dart::Something()',
- this.callbackAddress: '0x123456'});
+ const WeakPersistentHandleMock({this.object: const InstanceRefMock(),
+ this.externalSize: 0, this.peer: '0x0',
+ this.callbackSymbolName: 'dart::Something()',
+ this.callbackAddress: '0x123456'});
}

Powered by Google App Engine
This is Rietveld 408576698