anchor.diff:    }
   
     test_type_reference_to_import_part_in_subdir() async {
  -    addLibrarySource('/a/b.dart', 'library l; part "c.dart";');
  -    addSource('/a/c.dart', 'part of l; class C {} enum E { v } typedef F();');
  +    addLibrarySource(
  +        '$testPackageLibPath/a/b.dart', 'library l; part "c.dart";');
  +    addSource('$testPackageLibPath/a/c.dart',
  +        'part of l; class C {} enum E { v } typedef F();');
       var library = await checkLibrary('import "a/b.dart"; C c; E e; F f;');
       checkElementText(library, r'''
   library
     imports
  -    b.dart
  +    package:test/a/b.dart
     definingUnit
       topLevelVariables
         static c @21
  
positive.code:   }
  
    test_const_length_ofTopLevelVariable_imported() async {
      addLibrarySource('/a.dart', r'''
  const String S = 'abc';
  ''');
      var library = await checkLibrary(r'''
  
negative.code:   }
  
    test_inferred_type_refers_to_function_typed_parameter_type_other_lib() async {
      addLibrarySource('$testPackageLibPath/a.dart', '''
  import 'b.dart';
  abstract class D extends E {}
  ''');
      addLibrarySource('$testPackageLibPath/b.dart', '''
  abstract class E {
    void f(int x, int g(String s));
  }
  