anchor.diff:    }
   
     test_getUriTranslator_implicitPackagesFile_packagesDirectory() async {
  -    // Fake the existence of the base directory.
  +    // Create the base directory.
       fileSystem
           .entityForUri(Uri.parse('file:///base/location/'))
  -        .writeAsStringSync('');
  +        .createDirectory();
       fileSystem
           .entityForUri(Uri.parse('file:///base/location/packages/'))
  -        .writeAsStringSync('');
  +        .createDirectory();
   
       // Both of these .packages file should be ignored.
       fileSystem
  
positive.code:   }
  
    test_getUriTranslator_implicitPackagesFile_noPackages() async {
      // Fake the existence of the base directory.
      fileSystem
          .entityForUri(Uri.parse('file:///base/location/'))
          .writeAsStringSync('');
      var errors = [];
      // .packages file should be ignored.
      var raw = new CompilerOptions()
  
negative.code:   }
  
    test_getUriTranslator_implicitPackagesFile_nextToScript() async {
      // Create the base directory.
      fileSystem
          .entityForUri(Uri.parse('file:///base/location/'))
          .createDirectory();
      // Packages directory should be ignored (.packages file takes precedence).
      fileSystem
          .entityForUri(Uri.parse('file:///base/location/packages/'))
          .createDirectory();
      // This .packages file should be ignored.
      fileSystem
          .entityForUri(Uri.parse('file:///.packages'))
  