Consolidate detectable Executable checks

This commit is contained in:
Matt Nadareski
2025-09-06 09:03:05 -04:00
parent 5ef9c4cd8a
commit 6ea98f5dc4
3 changed files with 16 additions and 49 deletions

View File

@@ -26,16 +26,5 @@ namespace BinaryObjectScanner.Test.FileType
string? actual = detectable.Detect(stream, file, includeDebug: false);
Assert.Null(actual);
}
[Fact]
public void DetectDict_EmptyStream_Empty()
{
Stream? stream = new MemoryStream();
string file = string.Empty;
var detectable = new Executable();
ProtectionDictionary actual = detectable.DetectDict(stream, file, includeDebug: false);
Assert.Empty(actual);
}
}
}