fix tests [no ci]

This commit is contained in:
Jason Dove
2025-11-09 13:50:18 -06:00
parent 2b0079fedc
commit d9cdbc72de
2 changed files with 6 additions and 0 deletions
@@ -50,6 +50,9 @@ public class FakeLocalFileSystem : ILocalFileSystem
public IEnumerable<string> ListFiles(string folder, string searchPattern) =>
_files.Map(f => f.Path).Filter(f => Path.GetDirectoryName(f) == folder);
public IEnumerable<string> ListFiles(string folder, params string[] searchPatterns) =>
_files.Map(f => f.Path).Filter(f => Path.GetDirectoryName(f) == folder);
public bool FileExists(string path) => _files.Any(f => f.Path == path);
public bool FolderExists(string folder) => false;