anchor.diff:          options: 'data/options_tests_project/$optionsFileName');
     }
   
  -  void _expectUndefinedClassErrorsWithoutExclusions(bool isStrong) {
  +  void _expectUndefinedClassErrorsWithoutExclusions() {
  +    bool isStrong = usePreviewDart2 || new AnalysisOptionsImpl().previewDart2;
       final String issueType = isStrong ? 'error' : 'warning';
       expect(bulletToDash(outSink),
           contains("$issueType - Undefined class 'IncludedUndefinedClass'"));
  
positive.code:     // analysis_options above lib. The exclude is relative to the project, not
      // the analyzed path, and it has to then understand that.
      await drive('data/exclude_test_project/lib', options: null);
      _expectUndefinedClassErrorsWithoutExclusions(usePreviewDart2);
    }
  
    test_analyzeFilesInDifferentContexts() async {
  
negative.code:   test_analysisOptions_excludes() async {
      await drive('data/exclude_test_project',
          options: 'data/exclude_test_project/$optionsFileName');
      _expectUndefinedClassErrorsWithoutExclusions();
    }
  
    test_analysisOptions_excludesRelativeToAnalysisOptions_explicit() async {
  