Fix executable test

This commit is contained in:
Matt Nadareski
2025-09-02 20:31:30 -04:00
parent c0e82fa021
commit 60cd67e22e

View File

@@ -1,5 +1,4 @@
using System;
using System.IO;
using System.IO;
using BinaryObjectScanner.FileType;
using Xunit;
@@ -33,10 +32,9 @@ namespace BinaryObjectScanner.Test.FileType
{
Stream? stream = new MemoryStream();
string file = string.Empty;
Func<string, ProtectionDictionary>? getProtections = null;
var detectable = new Executable();
ProtectionDictionary actual = detectable.DetectDict(stream, file, getProtections, includeDebug: false);
ProtectionDictionary actual = detectable.DetectDict(stream, file, includeDebug: false);
Assert.Empty(actual);
}
}