We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a0de4a commit 4d668b6Copy full SHA for 4d668b6
src/infra/sysdig_image_scanner.rs
@@ -168,9 +168,9 @@ mod tests {
168
169
assert!(report.count_vulns_of_severity(VulnSeverity::Critical) == 0);
170
assert!(report.count_vulns_of_severity(VulnSeverity::High) == 0);
171
- assert!(report.count_vulns_of_severity(VulnSeverity::Medium) >= 9);
172
- assert!(report.count_vulns_of_severity(VulnSeverity::Low) >= 28);
173
- assert!(report.count_vulns_of_severity(VulnSeverity::Negligible) >= 3);
+ assert!(report.count_vulns_of_severity(VulnSeverity::Medium) > 0);
+ assert!(report.count_vulns_of_severity(VulnSeverity::Low) > 0);
+ assert!(report.count_vulns_of_severity(VulnSeverity::Negligible) > 0);
174
assert!(!report.is_compliant);
175
}
176
0 commit comments