Files
rhema-claw/crates
kosmos 853c5a547c fix(claw): the account-watch test names the id the store assigned, and clippy's then_some
The test fabricated `acct-1` as the watch's account id, but `put`
assigns its own, so the dispatch refused with "names account acct-1,
which is gone" — the test proved nothing about the path it covered.
Capture the assigned id instead.

`(secret.kind == SecretKind::Token).then(|| WatchCredential { .. })`
constructs a value with no work, so clippy's unnecessary_lazy_evaluations
failed `checks`; `then_some` says the same thing.
2026-11-08 17:54:15 +01:00
..