Fix windows build
parent
96f087a273
commit
34fa266114
|
@ -1606,7 +1606,10 @@ 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(preg_quote(realpath(dirname($this->workingDir))).'/excludedroot($|/)', preg_quote(realpath($this->workingDir)).'/root/excl($|/)'), $parsed['exclude-from-classmap']);
|
$this->assertSame(array(
|
||||||
|
preg_quote(strtr((string) realpath(dirname($this->workingDir))), '\\', '/').'/excludedroot($|/)',
|
||||||
|
preg_quote(strtr((string) realpath(dirname($this->workingDir))), '\\', '/').'/root/excl($|/)'
|
||||||
|
), $parsed['exclude-from-classmap']);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testEmptyPaths()
|
public function testEmptyPaths()
|
||||||
|
|
Loading…
Reference in New Issue