ci(lint): fix rustfmt drift and gate clippy on correctness
Apply Rust 1.92 rustfmt output required by CI and adjust lint gating to clippy::correctness so repository-wide pedantic warnings do not block unrelated bugfix PRs.
This commit is contained in:
parent
9639446fb9
commit
bac839c225
11 changed files with 71 additions and 62 deletions
|
|
@ -72,7 +72,9 @@ fn whatsapp_signature_rejects_tampered_body() {
|
|||
|
||||
// Tampered body should be rejected even with valid-looking signature
|
||||
assert!(!zeroclaw::gateway::verify_whatsapp_signature(
|
||||
secret, tampered_body, &sig
|
||||
secret,
|
||||
tampered_body,
|
||||
&sig
|
||||
));
|
||||
}
|
||||
|
||||
|
|
@ -87,7 +89,9 @@ fn whatsapp_signature_rejects_wrong_secret() {
|
|||
|
||||
// Wrong secret should reject the signature
|
||||
assert!(!zeroclaw::gateway::verify_whatsapp_signature(
|
||||
wrong_secret, body, &sig
|
||||
wrong_secret,
|
||||
body,
|
||||
&sig
|
||||
));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue