Skip to content

Commit

Permalink
tests: files update for nocase fix
Browse files Browse the repository at this point in the history
  • Loading branch information
victorjulien committed Aug 5, 2023
1 parent e6524a3 commit de3ad1a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/rules/filemagic/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,20 +136,20 @@ checks:
match:
id: 12
mpm.buffer: "file.magic"
mpm.pattern: "PDF"
mpm.pattern: "pdf"
engines[0].name: "file.magic"
engines[0].matches[0].name: "content"
engines[0].matches[0].content.pattern: "PDF"
engines[0].matches[0].content.pattern: "pdf"
engines[0].matches[0].content.nocase: true
- filter:
filename: rules.json
count: 1
match:
id: 13
mpm.buffer: "file.magic"
mpm.pattern: "PDF"
mpm.pattern: "pdf"
engines[0].name: "file.magic"
engines[0].matches[0].name: "content"
engines[0].matches[0].content.pattern: "PDF"
engines[0].matches[0].content.pattern: "pdf"
engines[0].matches[0].content.negated: true
engines[0].matches[0].content.nocase: true

0 comments on commit de3ad1a

Please sign in to comment.