Address review comments from @warwickmm

This commit is contained in:
Dean Ferreyra
2020-09-07 18:56:59 -07:00
parent 78555241c1
commit 93601d0a82
+2 -2
View File
@@ -62,14 +62,14 @@ namespace Duplicati.UnitTest
const string singleCharacterDir = "X";
string dirWithSingleCharacter = Path.Combine(this.DATAFOLDER, singleCharacterDir);
SystemIO.IO_OS.DirectoryCreate(dirWithSingleCharacter);
WriteFile(SystemIO.IO_OS.PathCombine(dirWithSingleCharacter, file), new byte[] { 1 });
WriteFile(SystemIO.IO_OS.PathCombine(dirWithSingleCharacter, file), new byte[] { 2 });
directories.Add(dirWithSingleCharacter);
questionMarkWildcardShouldMatchCount++;
const string dir = "dir";
string normalDir = Path.Combine(this.DATAFOLDER, dir);
SystemIO.IO_OS.DirectoryCreate(normalDir);
WriteFile(SystemIO.IO_OS.PathCombine(normalDir, file), new byte[] {2});
WriteFile(SystemIO.IO_OS.PathCombine(normalDir, file), new byte[] {3});
directories.Add(normalDir);
// Backup all files.