Add LibraryContainer tests

This commit is contained in:
John Lewin 2017-10-09 14:28:31 -07:00
parent c674bc329c
commit 0cfe09a4fb
5 changed files with 264 additions and 7 deletions

View file

@ -224,7 +224,7 @@ namespace MatterHackers.MatterControl.Library
incrementedFilePath = Path.Combine(this.fullPath, $"{fileName} ({foundCount++}){fileExtension}");
// Continue incrementing while any matching file exists
} while (Directory.GetFiles(incrementedFilePath).Any());
} while (File.Exists(incrementedFilePath));
return incrementedFilePath;
}