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

@ -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));