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:
parent
232d6e3e15
commit
744c312cf4
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue