1
0
Fork 0

Fix tests

pull/10701/head
Jordi Boggiano 2022-04-02 12:58:29 +02:00
parent 34fa266114
commit 6b330b7456
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 2 additions and 2 deletions

View File

@ -1607,8 +1607,8 @@ EOF;
$map = $this->generator->buildPackageMap($this->im, $package, array($dep)); $map = $this->generator->buildPackageMap($this->im, $package, array($dep));
$parsed = $this->generator->parseAutoloads($map, $package); $parsed = $this->generator->parseAutoloads($map, $package);
$this->assertSame(array( $this->assertSame(array(
preg_quote(strtr((string) realpath(dirname($this->workingDir))), '\\', '/').'/excludedroot($|/)', preg_quote(strtr((string) realpath(dirname($this->workingDir)), '\\', '/')).'/excludedroot($|/)',
preg_quote(strtr((string) realpath(dirname($this->workingDir))), '\\', '/').'/root/excl($|/)' preg_quote(strtr((string) realpath(dirname($this->workingDir)), '\\', '/')).'/root/excl($|/)'
), $parsed['exclude-from-classmap']); ), $parsed['exclude-from-classmap']);
} }