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:
parent
b981c1e09d
commit
ad5951218b
2 changed files with 2 additions and 2 deletions
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue