1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Fix windows build

This commit is contained in:
Jordi Boggiano 2022-04-02 12:38:23 +02:00
parent 95e09d3a81
commit 0985501602
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC

View file

@ -1606,7 +1606,7 @@ EOF;
));
$map = $this->generator->buildPackageMap($this->im, $package, array($dep));
$parsed = $this->generator->parseAutoloads($map, $package);
$this->assertSame(array(preg_quote(dirname($this->workingDir)).'/excludedroot($|/)', preg_quote($this->workingDir).'/root/excl($|/)'), $parsed['exclude-from-classmap']);
$this->assertSame(array(preg_quote(realpath(dirname($this->workingDir))).'/excludedroot($|/)', preg_quote(realpath($this->workingDir)).'/root/excl($|/)'), $parsed['exclude-from-classmap']);
}
public function testEmptyPaths()