(category_name: &str, paths: Vec<ExfilPath>)
| 286 | } |
| 287 | |
| 288 | fn finding_with(category_name: &str, paths: Vec<ExfilPath>) -> Finding { |
| 289 | Finding { |
| 290 | query: category_name.to_owned(), |
| 291 | title: "test".to_owned(), |
| 292 | description: String::new(), |
| 293 | paths: paths.into_iter().map(FindingPath::Exfil).collect(), |
| 294 | remediation: vec![], |
| 295 | accepted: false, |
| 296 | accepted_reason: String::new(), |
| 297 | } |
| 298 | } |
| 299 | |
| 300 | #[test] |
| 301 | fn shorthand_renders_capability_expansion_with_method() { |
no outgoing calls