service tests: name the record edit type for clippy
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
2e6aa9363f
commit
a255b0d9bf
1 changed files with 2 additions and 1 deletions
|
|
@ -718,7 +718,8 @@ mod tests {
|
|||
seed(&control.path, &seeded_key(), |_| {});
|
||||
assert!(TransportService::open(&control.path, [caller(CALLER, KEY, 1)], 5_000).is_ok());
|
||||
|
||||
let cases: [(&str, fn(&mut ReplayRecord)); 3] = [
|
||||
type Edit = fn(&mut ReplayRecord);
|
||||
let cases: [(&str, Edit); 3] = [
|
||||
("wrong-key", |_| {}),
|
||||
("zero-digest", |record| record.invocation_sha256 = [0; 32]),
|
||||
("zero-expiry", |record| record.expires_at_unix_ms = 0),
|
||||
|
|
|
|||
Loading…
Reference in a new issue