1
0
Fork 0
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:
gmsantosxl 2015-06-03 16:48:01 -03:00
parent 8c81ec0d0e
commit 84c9c30b63
2 changed files with 13 additions and 1 deletions

View file

@ -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),
);
}