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

Unified Diff: runtime/observatory/tests/observatory_ui/mocks/repositories/library.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/library.dart
diff --git a/runtime/observatory/tests/observatory_ui/mocks/repositories/library.dart b/runtime/observatory/tests/observatory_ui/mocks/repositories/library.dart
index 1d0f487b8b1eeb333d6c57806df25d78b3a9daa8..9dc51b17237fe918503cb50934d2f1213ce481f1 100644
--- a/runtime/observatory/tests/observatory_ui/mocks/repositories/library.dart
+++ b/runtime/observatory/tests/observatory_ui/mocks/repositories/library.dart
@@ -4,16 +4,15 @@
part of mocks;
-typedef Future<M.Library> LibraryRepositoryMockCallback(M.IsolateRef isolate,
- String id);
+typedef Future<M.Library> LibraryRepositoryMockCallback(
+ M.IsolateRef isolate, String id);
class LibraryRepositoryMock implements M.LibraryRepository {
final LibraryRepositoryMockCallback _get;
- LibraryRepositoryMock({LibraryRepositoryMockCallback getter})
- : _get = getter;
+ LibraryRepositoryMock({LibraryRepositoryMockCallback getter}) : _get = getter;
- Future<M.Library> get(M.IsolateRef isolate, String id){
+ Future<M.Library> get(M.IsolateRef isolate, String id) {
if (_get != null) {
return _get(isolate, id);
}

Powered by Google App Engine
This is Rietveld 408576698