From 60cd67e22e9da2e23cf62314ffe58210b9b12863 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Tue, 2 Sep 2025 20:31:30 -0400 Subject: [PATCH] Fix executable test --- BinaryObjectScanner.Test/FileType/ExecutableTests.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/BinaryObjectScanner.Test/FileType/ExecutableTests.cs b/BinaryObjectScanner.Test/FileType/ExecutableTests.cs index c041b773..5ead4ccc 100644 --- a/BinaryObjectScanner.Test/FileType/ExecutableTests.cs +++ b/BinaryObjectScanner.Test/FileType/ExecutableTests.cs @@ -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? 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); } }