anchor.diff:      }
     }
   
  -  void _assertCompiledUris(Iterable<Uri> expected) {
  -    var compiledCycles = incrementalKernelGenerator.test.compiledCycles;
  -    Set<Uri> compiledUris = compiledCycles
  -        .map((cycle) => cycle.libraries.map((file) => file.uri))
  -        .expand((uris) => uris)
  -        .toSet();
  -    expect(compiledUris, unorderedEquals(expected));
  -  }
  -
     test_compile_typedef() async {
       writeFile('/test/.packages', 'test:lib/');
       String aPath = '/test/lib/a.dart';
  
positive.code:     }
    }
  
    /// Write the given [text] of the file with the given [path] into the
    /// virtual filesystem.  Return the URI of the file.
    Uri writeFile(String path, String text) {
  
negative.code:     contents.forEach(writeFile);
    }
  
    void _assertCompiledUris(Iterable<Uri> expected) {
      var compiledCycles = incrementalKernelGenerator.test.compiledCycles;
      Set<Uri> compiledUris = compiledCycles
          .map((cycle) => cycle.libraries.map((file) => file.uri))
          .expand((uris) => uris)
          .toSet();
      expect(compiledUris, unorderedEquals(expected));
    }
  
    void _assertLibraryUris(Program program,
        {List<Uri> includes: const [], List<Uri> excludes: const []}) {
      List<Uri> libraryUris =
  