This commit is contained in:
kazuminn
2021-12-09 01:15:01 +09:00
parent 3f11e426ba
commit 360d80b578
3 changed files with 2 additions and 20 deletions

View File

@@ -264,7 +264,7 @@ mod tests {
#[test]
fn test_exclude_rules_file() {
let mut yaml = yaml::ParseYaml::new();
let path = Path::new("test_files/rules/exclude_rules");
let path = Path::new("test_files/rules/yaml");
yaml.read_dir(path.to_path_buf(), &"", &fillter::exclude_ids())
.unwrap();
assert_eq!(yaml.ignorerule_count, 1);