mirror of
https://github.com/mandiant/capa.git
synced 2025-12-22 07:10:29 -08:00
fix!: authors instead of author
This commit is contained in:
@@ -42,7 +42,8 @@ def test_rule_yaml():
|
||||
rule:
|
||||
meta:
|
||||
name: test rule
|
||||
author: user@domain.com
|
||||
authors:
|
||||
- user@domain.com
|
||||
scope: function
|
||||
examples:
|
||||
- foo1234
|
||||
@@ -724,7 +725,8 @@ def test_filter_rules():
|
||||
rule:
|
||||
meta:
|
||||
name: rule 1
|
||||
author: joe
|
||||
authors:
|
||||
- joe
|
||||
features:
|
||||
- api: CreateFile
|
||||
"""
|
||||
@@ -803,7 +805,8 @@ def test_filter_rules_missing_dependency():
|
||||
rule:
|
||||
meta:
|
||||
name: rule 1
|
||||
author: joe
|
||||
authors:
|
||||
- joe
|
||||
features:
|
||||
- match: rule 2
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user