Using pattern ...

This commit is contained in:
2024-05-03 15:44:12 -07:00
parent cc0e0c9965
commit 056975ef85
7 changed files with 32 additions and 13 deletions

View File

@ -60,4 +60,4 @@ public class DEP08SIHTRPLC : EAFLoggingUnitTesting
}
}
#endif
#endif

View File

@ -26,4 +26,4 @@ public class DEP08SIHTRPLC
public void Staging__v2_56_0__DEP08SIHTRPLC__ZipFilesByDate() => _DEP08SIHTRPLC.Staging__v2_56_0__DEP08SIHTRPLC__ZipFilesByDate();
}
#endif
#endif

View File

@ -1244,6 +1244,8 @@ public class AdaptationTesting : ISMTP
{
string result;
Tuple<string, Test[], JsonElement[], List<FileInfo>> extractResult = fileRead.ReExtract();
if(extractResult is null)
throw new Exception($"Using pattern {variables[4]} no file was found <{variables[2]}>");
if (!fileRead.IsDuplicator)
{
Assert.IsFalse(string.IsNullOrEmpty(extractResult?.Item1));