mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Make artifact paths in lock file cross-platform, fixes #3832
This commit is contained in:
parent
9e623f50e7
commit
8a2d1a2ee2
2 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ class ArtifactRepositoryTest extends TestCase
|
|||
$repo = new ArtifactRepository($coordinates, new NullIO(), new Config());
|
||||
|
||||
foreach ($repo->getPackages() as $package) {
|
||||
$this->assertTrue(strpos($package->getDistUrl(), $absolutePath) === 0);
|
||||
$this->assertTrue(strpos($package->getDistUrl(), strtr($absolutePath, '\\', '/')) === 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue