diff --git a/Aaru.Tests/Filesystems/ReadOnlyFilesystemTest.cs b/Aaru.Tests/Filesystems/ReadOnlyFilesystemTest.cs index 48e246859..cb23c1a80 100644 --- a/Aaru.Tests/Filesystems/ReadOnlyFilesystemTest.cs +++ b/Aaru.Tests/Filesystems/ReadOnlyFilesystemTest.cs @@ -240,6 +240,9 @@ namespace Aaru.Tests.Filesystems Dictionary children = new Dictionary(); fs.ReadDir(path, out List contents); + if(contents is null) + return children; + foreach(string child in contents) { string childPath = $"{path}/{child}";