mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-05-06 20:43:44 +00:00
Fix inconsistency in interface implementations
This commit is contained in:
@@ -13,10 +13,10 @@ namespace BinaryObjectScanner.Test.Protection
|
||||
string file = "filename";
|
||||
SabreTools.Models.PortableExecutable.Executable model = new();
|
||||
Stream source = new MemoryStream();
|
||||
SabreTools.Serialization.Wrappers.PortableExecutable pex = new(model, source);
|
||||
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
|
||||
|
||||
var checker = new SecuROM();
|
||||
string? actual = checker.CheckExecutable(file, pex, includeDebug: false);
|
||||
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);
|
||||
Assert.Null(actual);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user