| 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;
|
| }
|
|
|