Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
stevemk14ebr committed Aug 19, 2024
1 parent 3b16cc5 commit 74926fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion objfile/patterns_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ func TestRegexpPatternFromYaraPattern(t *testing.T) {
}

// manually translated
if reg.rawre != `\x8D.....\xEB..{0,50}\x8B..\x01\x00\x00\x8B...\x85.\x75.` {
if reg.rawre != `\x8D.....\xEB..{0,50}?\x8B..\x01\x00\x00\x8B...\x85.\x75.` {
t.Errorf("incorrect pattern")
}

Expand Down

0 comments on commit 74926fe

Please sign in to comment.