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

Unified Diff: runtime/observatory/tests/observatory_ui/mocks/repositories/eval.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/eval.dart
diff --git a/runtime/observatory/tests/observatory_ui/mocks/repositories/eval.dart b/runtime/observatory/tests/observatory_ui/mocks/repositories/eval.dart
index 5f143fa09d398c5f1eba54d1c91a46fe3414c938..c0020c3f2350ed0996ea54ad6dfe2894ac17421e 100644
--- a/runtime/observatory/tests/observatory_ui/mocks/repositories/eval.dart
+++ b/runtime/observatory/tests/observatory_ui/mocks/repositories/eval.dart
@@ -4,16 +4,18 @@
part of mocks;
-typedef Future<M.Object> EvalRepositoryMockCallback(
- M.IsolateRef isolate, M.ObjectRef context, String expression);
+typedef Future<M.Object> EvalRepositoryMockCallback(M.IsolateRef isolate,
+ M.ObjectRef context,
+ String expression);
class EvalRepositoryMock implements M.EvalRepository {
final EvalRepositoryMockCallback _get;
- EvalRepositoryMock({EvalRepositoryMockCallback getter}) : _get = getter;
+ EvalRepositoryMock({EvalRepositoryMockCallback getter})
+ : _get = getter;
- Future<M.Object> evaluate(
- M.IsolateRef isolate, M.ObjectRef context, String expression) {
+ Future<M.Object> evaluate(M.IsolateRef isolate, M.ObjectRef context,
+ String expression){
if (_get != null) {
return _get(isolate, context, expression);
}

Powered by Google App Engine
This is Rietveld 408576698