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