anchor.diff:    }
   
     Future<void> test_importLibrary_withEnum() async {
  -    var a_path = '/workspace/dart/test/lib/a.dart';
  -    newFile(a_path, content: r'''
  +    var a = newFile('/workspace/dart/test/lib/a.dart', content: r'''
   enum Test {a, b, c}
   ''');
  -    fileResolver.resolve(path: a_path);
  +    fileResolver.resolve(path: a.path);
   
       await _compute(r'''
   void f(Test a) {}^
  
positive.code:   }
  
    Future<void> test_importLibrary_withTopLevelVariable() async {
      var a_path = '/workspace/dart/test/lib/a.dart';
      newFile(a_path, content: r'''
  var a = 0;
  ''');
      fileResolver.resolve(path: a_path);
  
      await _compute(r'''
  void f() {
  
negative.code:   }
  
    Future<void> test_importLibrary_withExtension() async {
      var a = newFile('/workspace/dart/test/lib/a.dart', content: r'''
  extension E on int {
    void foo() {}
  }
  ''');
      fileResolver.resolve(path: a.path);
  
      await _compute(r'''
  void f() {
  