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

Unified Diff: runtime/observatory/tests/observatory_ui/mocks/objects/error.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/error.dart
diff --git a/runtime/observatory/tests/observatory_ui/mocks/objects/error.dart b/runtime/observatory/tests/observatory_ui/mocks/objects/error.dart
index 5c769819879f624947a50da908d9912cc61fab0f..162d39ad7f2ce304853686cb278104128b37a28c 100644
--- a/runtime/observatory/tests/observatory_ui/mocks/objects/error.dart
+++ b/runtime/observatory/tests/observatory_ui/mocks/objects/error.dart
@@ -9,10 +9,9 @@ class ErrorRefMock implements M.ErrorRef {
final M.ErrorKind kind;
final String message;
- const ErrorRefMock(
- {this.id: 'error-ref',
- this.kind: M.ErrorKind.internalError,
- this.message: 'Error Message'});
+ const ErrorRefMock({this.id: 'error-ref',
+ this.kind: M.ErrorKind.internalError,
+ this.message: 'Error Message'});
}
class ErrorMock implements M.Error {
@@ -23,11 +22,8 @@ class ErrorMock implements M.Error {
final M.ErrorKind kind;
final String message;
- const ErrorMock(
- {this.id: 'error-id',
- this.vmName: 'error-vmName',
- this.clazz: const ClassMock(),
- this.size: 0,
- this.kind: M.ErrorKind.internalError,
- this.message: 'Error Message'});
+ const ErrorMock({this.id: 'error-id', this.vmName: 'error-vmName',
+ this.clazz: const ClassMock(), this.size: 0,
+ this.kind: M.ErrorKind.internalError,
+ this.message: 'Error Message'});
}

Powered by Google App Engine
This is Rietveld 408576698