test(tui): satisfy all-targets clippy map_or lint

This commit is contained in:
Hunter B
2026-06-05 08:31:33 -07:00
parent b296f5fbdf
commit f9d7ae7e20
+1 -1
View File
@@ -7379,7 +7379,7 @@ async fn provider_switch_auth_error_restores_previous_provider_and_model() {
assert!(
app.status_message
.as_deref()
.map_or(true, |status| !status.contains("Provider switch failed")),
.is_none_or(|status| !status.contains("Provider switch failed")),
"status message is set by the async event loop after engine respawn"
);
}