anchor.diff:      expect(resolvedUnit, same(parsedUnit));
     }
   
  -  Future fail_computeResolvedCompilationUnitAsync_dispose() {
  +  Future test_computeResolvedCompilationUnitAsync_dispose() {
       Source source = addSource("/lib.dart", "library lib;");
       // Complete all pending analysis tasks and flush the AST so that it won't
       // be available immediately.
       _performPendingAnalysisTasks();
       _flushAst(source);
  +    bool completed = false;
       CancelableFuture<CompilationUnit> future =
           context.computeResolvedCompilationUnitAsync(source, source);
  -    bool completed = false;
       future.then((CompilationUnit unit) {
         fail('Future should have completed with error');
       }, onError: (error) {
  
positive.code:     expect(info, isNotNull);
    }
  
    Future fail_computeResolvedCompilationUnitAsync_afterDispose() {
      Source source = addSource("/lib.dart", "library lib;");
      // Complete all pending analysis tasks and flush the AST so that it won't
      // be available immediately.
  
negative.code:   }
  
    void _flushAst(Source source) {
      CacheEntry entry = context.getReadableSourceEntryOrNull(new LibrarySpecificUnit(source, source));
      entry.setState(RESOLVED_UNIT, CacheState.FLUSHED);
    }
  
  