chore(clippy): fix warning

This commit is contained in:
Vít Rozsíval
2026-04-09 12:34:40 +02:00
parent 546816f692
commit 36ba675f02
+1 -1
View File
@@ -518,7 +518,7 @@ mod tests {
let allow = vec!["*.example.com".to_string()];
assert!(check_ssrf("http://api.example.com", &allow).is_ok());
// Non-matching domain should still go through normal checks
assert!(is_host_allowed("other.net", &allow) == false);
assert!(!is_host_allowed("other.net", &allow));
}
#[test]