Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Fix the worktrees experimental feature test fixture (#42682)

Benjamin Carlsson8e6a44b428e3
diff --git a/codex-rs/tui/src/chatwidget/tests/popups_and_settings.rs b/codex-rs/tui/src/chatwidget/tests/popups_and_settings.rs
index 10b4a43d9a..801ee925b8 100644
--- a/codex-rs/tui/src/chatwidget/tests/popups_and_settings.rs
+++ b/codex-rs/tui/src/chatwidget/tests/popups_and_settings.rs
@@ -3015,7 +3015,8 @@ async fn experimental_features_popup_snapshot() {
enabled: true,
},
ExperimentalFeatureItem {
- feature: Some(Feature::Worktrees),
+ key: Feature::Worktrees.key().to_string(),
+ writable: true,
name: worktrees.experimental_menu_name().unwrap().to_string(),
description: worktrees.experimental_menu_description().unwrap().to_string(),
enabled: false,