Made test logic similar to other places with ignore

This commit is contained in:
Kenneth Skovhede
2026-06-16 12:08:27 +02:00
parent bea9d3a84d
commit 5e2b13cc7b
+3 -1
View File
@@ -254,8 +254,10 @@ namespace Duplicati.UnitTest
public async Task ProblematicSuffixesAsync(string pathComponent, bool skipOnWindows)
{
if (OperatingSystem.IsWindows() && skipOnWindows)
{
Assert.Ignore("This test is not for Windows.");
return;
}
var folderPath = SystemIO.IO_OS.PathCombine(this.DATAFOLDER, pathComponent);
SystemIO.IO_OS.DirectoryCreate(folderPath);