[PT Run][Folder]Support for paths with / (#18520)

This commit is contained in:
Davide Giacometti
2022-06-02 11:44:52 +02:00
committed by GitHub
parent 465df35d27
commit 6f306e1259
3 changed files with 5 additions and 2 deletions

View File

@@ -52,6 +52,7 @@ namespace Microsoft.Plugin.Folder.UnitTests
[DataRow(@"c:\not-exist", 2, 1, false, DisplayName = "Folder not exist, return root")]
[DataRow(@"c:\not-exist\not-exist2", 0, 0, false, DisplayName = "Folder not exist, return root")]
[DataRow(@"c:\bla.t", 2, 1, false, DisplayName = "Partial match file")]
[DataRow(@"c:/bla.t", 2, 1, false, DisplayName = "Partial match file with /")]
public void Query_WhenCalled(string search, int folders, int files, bool truncated)
{
const int maxFolderSetting = 3;