anchor.diff:  ^
   ''';
   
  -    _createFileResolver();
       await _compute(content);
  -    _assertComputedImportedLibraries([corePath, aPath]);
  +    _assertComputedImportedLibraries([aPath], hasCore: true);
       _assertHasClass(text: 'A');
   
       // Repeat the query, still has 'A'.
  
positive.code:     ]);
    }
  
    void _assertComputedImportedLibraries(List<String> expected) {
      expected = expected.map(convertPath).toList();
      expect(
        _computer.computedImportedLibraries,
        unorderedEquals(expected),
  
negative.code:   }
  
    Future<void> test_compute_updateImportedLibrary() async {
      var aPath = convertPath('/workspace/dart/test/lib/a.dart');
      newFile(aPath, content: r'''
  class A {}
  