anchor.diff:        }
       }
       baseDir.deleteSync(recursive: true);
  +    asyncEnd();
     });
   }
   
   testCreateLoopingLink() {
  +  asyncStart();
     String base = Directory.systemTemp.createTempSync('dart_link').path;
     new Directory(join(base, 'a', 'b', 'c')).create(recursive: true)
       .then((_) =>
  
positive.code: // Test the dart:io Link class.
  
  testCreateSync() {
    String base = Directory.systemTemp.createTempSync('dart_link').path;
    if (isRelative(base)) {
      Expect.fail(
  
negative.code:   String link = join(base, 'link');
    String target = join(base, 'target');
    new Directory(target).createSync();
    new Link(link).createSync(target);
    Expect.equals(FileSystemEntityType.DIRECTORY,
                  FileSystemEntity.typeSync(link));
    Expect.equals(FileSystemEntityType.DIRECTORY,
  