Fix the worktrees experimental feature test fixture (#42682)

## What changed

Construct the worktrees entry in `experimental_features_popup_snapshot` with
its string feature key and mark it writable, matching the current
`ExperimentalFeatureItem` fields.

GitOrigin-RevId: c12cd3d472504777e77d21a13a276e1d2381e85f
This commit is contained in:
Benjamin Carlsson
2026-09-04 06:14:15 +00:00
committed by copyberry
parent f3f6922519
commit 8e6a44b428
@@ -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,