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

Unified Diff: runtime/observatory/tests/observatory_ui/mocks/objects/script.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/objects/script.dart
diff --git a/runtime/observatory/tests/observatory_ui/mocks/objects/script.dart b/runtime/observatory/tests/observatory_ui/mocks/objects/script.dart
index c6d2769a76eeaa5f2112e21f8b9498f85aef388e..699ec59bf223b89b6be8f37d636a92a97f15fb51 100644
--- a/runtime/observatory/tests/observatory_ui/mocks/objects/script.dart
+++ b/runtime/observatory/tests/observatory_ui/mocks/objects/script.dart
@@ -34,12 +34,21 @@ class ScriptMock implements M.Script {
int tokenToLine(int token) => _tokenToLine(token);
int tokenToCol(int token) => _tokenToCol(token);
- const ScriptMock({this.id: 'script-id', this.vmName: 'script-vmNmae',
- this.clazz, this.size, this.uri, this.source,
- this.library: const LibraryRefMock(),
- TokenToInt tokenToLine, TokenToInt tokenToCol,
- this.loadTime, this.firstTokenPos, this.lastTokenPos,
- this.lineOffset, this.columnOffset})
- : _tokenToLine = tokenToLine,
- _tokenToCol = tokenToCol;
+ const ScriptMock(
+ {this.id: 'script-id',
+ this.vmName: 'script-vmNmae',
+ this.clazz,
+ this.size,
+ this.uri,
+ this.source,
+ this.library: const LibraryRefMock(),
+ TokenToInt tokenToLine,
+ TokenToInt tokenToCol,
+ this.loadTime,
+ this.firstTokenPos,
+ this.lastTokenPos,
+ this.lineOffset,
+ this.columnOffset})
+ : _tokenToLine = tokenToLine,
+ _tokenToCol = tokenToCol;
}

Powered by Google App Engine
This is Rietveld 408576698