mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-07-09 02:16:46 +00:00
Improve detection for cd/dvd-cops version string (#368)
* Improve detection for cd/dvd-cops version string * I forgot to include the regex compensation for comma version number cases * Pasted comment wrong previously * Implemented Sabre's review fixes, also added check for Codefree
This commit is contained in:
committed by
GitHub
parent
d28d8b5a2b
commit
af43748766
@@ -7,17 +7,6 @@ namespace BinaryObjectScanner.Test.Protection
|
||||
{
|
||||
public class CDDVDCopsTests
|
||||
{
|
||||
[Fact]
|
||||
public void CheckContentsTest()
|
||||
{
|
||||
string file = "filename";
|
||||
byte[] fileContent = [0x01, 0x02, 0x03, 0x04];
|
||||
|
||||
var checker = new CDDVDCops();
|
||||
string? actual = checker.CheckContents(file, fileContent, includeDebug: true);
|
||||
Assert.Null(actual);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void CheckNewExecutableTest()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user