anchor.diff:      if (path.extension(entity.path) == '.tmpl')
         continue;
       if (entity is File) {
  +      if (!gitFileNamesSet.contains(path.canonicalize(entity.absolute.path)))
  +        continue;
         if (_isGeneratedPluginRegistrant(entity))
           continue;
         if (path.basename(entity.path) == 'flutter_export_environment.sh')
  
positive.code: }
  
  Future<void> verifyNoTrailingSpaces(String workingDirectory, { int minimumMatches = 4000 }) async {
    final List<File> files = _allFiles(workingDirectory, null, minimumMatches: minimumMatches)
      .where((File file) => path.basename(file.path) != 'serviceaccount.enc')
      .where((File file) => path.basename(file.path) != 'Ahem.ttf')
      .where((File file) => path.extension(file.path) != '.snapshot')
  
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);
  