1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Also trim trailing slashes in PathRepo, refs #5164

This commit is contained in:
Jordi Boggiano 2016-04-11 13:11:46 +01:00
parent b981c1e09d
commit ad5951218b
2 changed files with 2 additions and 2 deletions

View file

@ -108,6 +108,6 @@ class PathRepositoryTest extends TestCase
// Convert platform specific separators back to generic URL slashes
$relativeUrl = str_replace(DIRECTORY_SEPARATOR, '/', $relativeUrl);
$this->assertEquals(rtrim($relativeUrl, '/'), rtrim($package->getDistUrl(), '/'));
$this->assertEquals($relativeUrl, $package->getDistUrl());
}
}