Fix tests

main
Jordi Boggiano 2 years ago
parent 34fa266114
commit 6b330b7456
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC

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

Loading…
Cancel
Save