1
0
Fork 0

Fix windows build

pull/10701/head
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
1 changed files with 1 additions and 1 deletions

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()