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

Unified Diff: runtime/observatory/tests/observatory_ui/mocks/repositories/context.dart

Issue 2759973004: Fix observatory tests broken by running dartfmt. Temporarily reverted formatting for evaluate_activ… (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/repositories/context.dart
diff --git a/runtime/observatory/tests/observatory_ui/mocks/repositories/context.dart b/runtime/observatory/tests/observatory_ui/mocks/repositories/context.dart
index 11d8dfae457d572fd8b55b5fcf372c8365a1b4ed..bf0c9e9bbe3672888d3ec1c69c76f63db6f793e8 100644
--- a/runtime/observatory/tests/observatory_ui/mocks/repositories/context.dart
+++ b/runtime/observatory/tests/observatory_ui/mocks/repositories/context.dart
@@ -4,16 +4,15 @@
part of mocks;
-typedef Future<M.Context> ContextRepositoryMockCallback(M.IsolateRef isolate,
- String id);
+typedef Future<M.Context> ContextRepositoryMockCallback(
+ M.IsolateRef isolate, String id);
class ContextRepositoryMock implements M.ContextRepository {
final ContextRepositoryMockCallback _get;
- ContextRepositoryMock({ContextRepositoryMockCallback getter})
- : _get = getter;
+ ContextRepositoryMock({ContextRepositoryMockCallback getter}) : _get = getter;
- Future<M.Context> get(M.IsolateRef isolate, String id){
+ Future<M.Context> get(M.IsolateRef isolate, String id) {
if (_get != null) {
return _get(isolate, id);
}

Powered by Google App Engine
This is Rietveld 408576698