Skip to content

Commit f6c2971

Browse files
authored
fix: support Directory.GetFileSystemEntries with enumeration options (#966)
Implement the missing wrapper method `Directory.GetFileSystemEntries(string, string, EnumerationOptions)`.
1 parent d24adad commit f6c2971

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TestableIO.System.IO.Abstractions.Wrappers/DirectoryWrapper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ public override string[] GetFileSystemEntries(string path, string searchPattern,
162162
/// <inheritdoc />
163163
public override string[] GetFileSystemEntries(string path, string searchPattern, EnumerationOptions enumerationOptions)
164164
{
165-
throw new NotImplementedException();
165+
return Directory.GetFileSystemEntries(path, searchPattern, enumerationOptions);
166166
}
167167
#endif
168168

0 commit comments

Comments
 (0)