FileSystemGlobbing: Allow rootDir paths ending with separator to match files correctl...
authorDavid CantĂș <dacantu@microsoft.com>
Tue, 30 Mar 2021 16:45:10 +0000 (09:45 -0700)
committerGitHub <noreply@github.com>
Tue, 30 Mar 2021 16:45:10 +0000 (09:45 -0700)
commit20864e71f52b39a6a9cbe35cbf63845445000725
tree02b340271ed57fef5a4c8c229a40eef43d492fb8
parent2652995b6e58d78ea9ae6d75ea4eabcf5756d557
FileSystemGlobbing: Allow rootDir paths ending with separator to match files correctly (#45139)

* Allow rootDir paths ending with separator to match files correctly

* Avoid running tests with windows-like absolute paths on non-windows platforms

* Address test suggestion
src/libraries/Microsoft.Extensions.FileSystemGlobbing/src/InMemoryDirectoryInfo.cs
src/libraries/Microsoft.Extensions.FileSystemGlobbing/tests/FunctionalTests.cs