Merge pull request #2798 from Hmbown/codex/fix-all-targets-clippy-map-or

test(tui): satisfy all-targets clippy map_or lint
This commit is contained in:
Hunter Bown
2026-06-05 08:32:23 -07:00
committed by GitHub
+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"
);
}