mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Remove extra '/' when findShortestPath $from is a directory
This commit is contained in:
parent
8c81ec0d0e
commit
84c9c30b63
2 changed files with 13 additions and 1 deletions
|
@ -112,6 +112,7 @@ class FilesystemTest extends TestCase
|
|||
array('/foo/bar_vendor', '/foo/bar', '../bar', true),
|
||||
array('/foo/bar_vendor', '/foo/bar/src', '../bar/src', true),
|
||||
array('/foo/bar_vendor/src2', '/foo/bar/src/lib', '../../bar/src/lib', true),
|
||||
array('C:/', 'C:/foo/bar/', "foo/bar", true),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue