From 8f21b7fffbefe77529325fc86c95289371841c6c Mon Sep 17 00:00:00 2001 From: "Adam Perry @ OpenAI" Date: Wed, 7 Oct 2026 18:49:34 +0000 Subject: [PATCH] Remove duplicate field initializers in extension registry tests (#51800) Remove repeated `selected_capability_roots` initializers from two `TurnEnvironmentSelection` fixtures so the registry test can compile. GitOrigin-RevId: bef3fba18dd786b80610703a37d6d3243cf33401 --- codex-rs/ext/extension-api/tests/registry.rs | 2 -- 1 file changed, 2 deletions(-) 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);