Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Remove duplicate field initializers in extension registry tests (#51800)

Adam Perry @ OpenAI8f21b7fffbef
diff --git a/codex-rs/ext/extension-api/tests/registry.rs b/codex-rs/ext/extension-api/tests/registry.rs
index 818ac8b80f..a54c83108c 100644
--- a/codex-rs/ext/extension-api/tests/registry.rs
+++ b/codex-rs/ext/extension-api/tests/registry.rs
@@ -79,7 +79,6 @@ fn mcp_context_preserves_selected_executor_order_and_unavailability() {
workspace_roots: Vec::new(),
selected_capability_roots: Default::default(),
config: EnvironmentConfigState::Pending,
- selected_capability_roots: Default::default(),
},
TurnEnvironmentSelection {
environment_id: "ready-secondary".to_owned(),
@@ -87,7 +86,6 @@ fn mcp_context_preserves_selected_executor_order_and_unavailability() {
workspace_roots: Vec::new(),
selected_capability_roots: Default::default(),
config: EnvironmentConfigState::FromThread,
- selected_capability_roots: Default::default(),
},
];
let context = McpServerContributionContext::global(&config);