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

Unified Diff: runtime/observatory/tests/observatory_ui/mocks/repositories/script.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/repositories/script.dart
diff --git a/runtime/observatory/tests/observatory_ui/mocks/repositories/script.dart b/runtime/observatory/tests/observatory_ui/mocks/repositories/script.dart
index efa60ae75d20e36f32ad106d7caea1e1bbb98b0e..cb6d2eb71a38c8b063ff55c4dbc4af4fbfdc031f 100644
--- a/runtime/observatory/tests/observatory_ui/mocks/repositories/script.dart
+++ b/runtime/observatory/tests/observatory_ui/mocks/repositories/script.dart
@@ -4,15 +4,16 @@
part of mocks;
-typedef Future<M.Script> ScriptRepositoryMockCallback(
- M.IsolateRef isolate, String id);
+typedef Future<M.Script>
+ ScriptRepositoryMockCallback(M.IsolateRef isolate, String id);
class ScriptRepositoryMock implements M.ScriptRepository {
final ScriptRepositoryMockCallback _get;
- ScriptRepositoryMock({ScriptRepositoryMockCallback getter}) : _get = getter;
+ ScriptRepositoryMock({ScriptRepositoryMockCallback getter})
+ : _get = getter;
- Future<M.Script> get(M.IsolateRef isolate, String id) {
+ Future<M.Script> get(M.IsolateRef isolate, String id){
if (_get != null) {
return _get(isolate, id);
}

Powered by Google App Engine
This is Rietveld 408576698