| Index: runtime/observatory/tests/observatory_ui/source_link/element_test.dart
 | 
| diff --git a/runtime/observatory/tests/observatory_ui/source_link/element_test.dart b/runtime/observatory/tests/observatory_ui/source_link/element_test.dart
 | 
| index 38218f3322e33d0a12b02e3819cd907a30a6aa33..8a8efe9545c80707f4bd9e48b8cbba2421235ac7 100644
 | 
| --- a/runtime/observatory/tests/observatory_ui/source_link/element_test.dart
 | 
| +++ b/runtime/observatory/tests/observatory_ui/source_link/element_test.dart
 | 
| @@ -13,10 +13,13 @@ main() {
 | 
|    const isolate = const IsolateRefMock(id: 'isolate-id');
 | 
|    const script_id = 'script-id';
 | 
|    const file = 'filename.dart';
 | 
| -  final script = new ScriptMock(id: script_id, uri: 'package/$file',
 | 
| -      tokenToLine: (int token) => 1, tokenToCol: (int token) => 2);
 | 
| -  final location = new SourceLocationMock(script: script, tokenPos: 0,
 | 
| -      endTokenPos: 1);
 | 
| +  final script = new ScriptMock(
 | 
| +      id: script_id,
 | 
| +      uri: 'package/$file',
 | 
| +      tokenToLine: (int token) => 1,
 | 
| +      tokenToCol: (int token) => 2);
 | 
| +  final location =
 | 
| +      new SourceLocationMock(script: script, tokenPos: 0, endTokenPos: 1);
 | 
|    final repository = new ScriptRepositoryMock();
 | 
|    test('instantiation', () {
 | 
|      final e = new SourceLinkElement(isolate, location, repository);
 | 
| @@ -27,24 +30,22 @@ main() {
 | 
|    test('elements created after attachment', () async {
 | 
|      bool rendered = false;
 | 
|      final repository = new ScriptRepositoryMock(
 | 
| -      getter: expectAsync((isolate, id) async {
 | 
| -        expect(rendered, isFalse);
 | 
| -        expect(id, equals(script_id));
 | 
| -        return script;
 | 
| -      }, count: 1)
 | 
| -    );
 | 
| +        getter: expectAsync((isolate, id) async {
 | 
| +      expect(rendered, isFalse);
 | 
| +      expect(id, equals(script_id));
 | 
| +      return script;
 | 
| +    }, count: 1));
 | 
|      final e = new SourceLinkElement(isolate, location, repository);
 | 
|      document.body.append(e);
 | 
|      await e.onRendered.first;
 | 
|      rendered = true;
 | 
|      expect(e.children.length, isNonZero, reason: 'has elements');
 | 
|      expect(e.innerHtml.contains(isolate.id), isTrue,
 | 
| -      reason: 'no message in the component');
 | 
| +        reason: 'no message in the component');
 | 
|      expect(e.innerHtml.contains(file), isTrue,
 | 
| -      reason: 'no message in the component');
 | 
| +        reason: 'no message in the component');
 | 
|      e.remove();
 | 
|      await e.onRendered.first;
 | 
| -    expect(e.children.length, isZero,
 | 
| -      reason: 'is empty');
 | 
| +    expect(e.children.length, isZero, reason: 'is empty');
 | 
|    });
 | 
|  }
 | 
| 
 |