Browse Source

Merge commit 'refs/pull/8575/head' of github.com:composer/composer

Jordi Boggiano 5 years ago
parent
commit
c7ba751319
1 changed files with 3 additions and 1 deletions
  1. 3 1
      tests/Composer/Test/Autoload/AutoloadGeneratorTest.php

+ 3 - 1
tests/Composer/Test/Autoload/AutoloadGeneratorTest.php

@@ -1525,6 +1525,8 @@ EOF;
                 '/composersrc/ClassToExclude.php',
                 '/composersrc/*/excluded/excsubpath',
                 '**/excsubpath',
+                'composers',    // should _not_ cause exclusion of /composersrc/**
+                '/src-ca/',     // should _not_ cause exclusion of /src-cake/**
             ),
         ));
 
@@ -1547,7 +1549,7 @@ EOF;
         $this->fs->ensureDirectoryExists($this->workingDir.'/composersrc/tests');
         file_put_contents($this->workingDir.'/composersrc/foo.php', '<?php class ClassMapFoo {}');
 
-        // this classes should not be found in the classmap
+        // these classes should not be found in the classmap
         $this->fs->ensureDirectoryExists($this->workingDir.'/composersrc/excludedTests');
         file_put_contents($this->workingDir.'/composersrc/excludedTests/bar.php', '<?php class ClassExcludeMapFoo {}');
         file_put_contents($this->workingDir.'/composersrc/ClassToExclude.php', '<?php class ClassClassToExclude {}');