anchor.diff:    // Verify that the imports are well-ordered.
     final Map<String, Set<String>> dependencyMap = <String, Set<String>>{};
     for (final String directory in directories) {
  -    dependencyMap[directory] = _findFlutterDependencies(path.join(srcPath, directory), errors, checkForMeta: directory != 'foundation');
  +    dependencyMap[directory] = await _findFlutterDependencies(path.join(srcPath, directory), errors, checkForMeta: directory != 'foundation');
     }
     assert(dependencyMap['material'].contains('widgets') &&
            dependencyMap['widgets'].contains('rendering') &&
  
positive.code:     if (path.extension(entity.path) == '.tmpl')
        continue;
      if (entity is File) {
        if (_isGeneratedPluginRegistrant(entity))
          continue;
        if (path.basename(entity.path) == 'flutter_export_environment.sh')
  
negative.code: Future<void> verifyNoTestImports(String workingDirectory) async {
    final List<String> errors = <String>[];
    assert("// foo\nimport 'binding_test.dart' as binding;\n'".contains(_testImportPattern));
    final List<File> dartFiles = await _allFiles(path.join(workingDirectory, 'packages'), 'dart', minimumMatches: 1500).toList();
    for (final File file in dartFiles) {
      for (final String line in file.readAsLinesSync()) {
        final Match match = _testImportPattern.firstMatch(line);
  