mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:50:52 +00:00
Remove duplicate field initializers from extension registry tests (#52288)
Remove the repeated `selected_capability_roots` initializers from the two `TurnEnvironmentSelection` fixtures in `mcp_context_preserves_selected_executor_order_and_unavailability` so the test can compile. GitOrigin-RevId: 6e773cdcba84b95220eb024d51619fea67780617
This commit is contained in:
committed by
copyberry
parent
2c3156adf4
commit
77c01c1d37
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user