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

Unified Diff: runtime/observatory/tests/observatory_ui/mocks/objects/code.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/code.dart
diff --git a/runtime/observatory/tests/observatory_ui/mocks/objects/code.dart b/runtime/observatory/tests/observatory_ui/mocks/objects/code.dart
index 4bfd95094ee27d27e8bb7d24f3116bdeccf1957a..943575650441159d20bea7470c2dd1cb8702e33d 100644
--- a/runtime/observatory/tests/observatory_ui/mocks/objects/code.dart
+++ b/runtime/observatory/tests/observatory_ui/mocks/objects/code.dart
@@ -10,7 +10,7 @@ class CodeRefMock implements M.CodeRef {
final M.CodeKind kind;
final bool isOptimized;
- const CodeRefMock({this.id, this.name, this.kind, this.isOptimized: false});
+ const CodeRefMock({this.id, this.name, this.kind, this.isOptimized: false });
}
class CodeMock implements M.Code {
@@ -25,15 +25,10 @@ class CodeMock implements M.Code {
final M.ObjectPoolRef objectPool;
final Iterable<M.FunctionRef> inlinedFunctions;
- const CodeMock(
- {this.id: 'code-id',
- this.name: 'code-name',
- this.vmName: 'code-vmName',
- this.clazz,
- this.size,
- this.kind: M.CodeKind.dart,
- this.isOptimized: false,
- this.function: const FunctionRefMock(),
- this.objectPool: const ObjectPoolRefMock(),
- this.inlinedFunctions: const []});
+ const CodeMock({this.id: 'code-id', this.name: 'code-name',
+ this.vmName: 'code-vmName', this.clazz, this.size,
+ this.kind: M.CodeKind.dart, this.isOptimized: false,
+ this.function: const FunctionRefMock(),
+ this.objectPool: const ObjectPoolRefMock(),
+ this.inlinedFunctions: const []});
}

Powered by Google App Engine
This is Rietveld 408576698