Qualify anyhow::bail in chat_gate test mock

Avoid unused bail import in non-test builds so clippy passes cleanly.
This commit is contained in:
Meta Vens 2026-12-06 08:23:36 +01:00
commit 744c312cf4

View file

@ -945,7 +945,7 @@ mod tests {
self.open_replies.borrow_mut().pop_front().expect("queued open_direct reply")
}
fn fetch(&self, _request: &ChatFetchRequest) -> Result<ChatFetchReceipt> {
bail!("unused in chat_gate tests")
anyhow::bail!("unused in chat_gate tests")
}
fn ack(&self, through_seq: u64) -> Result<()> {
self.acks.borrow_mut().push(through_seq);