From 7b4e050dd8503c3b390f0ceb77ca52f79fe831e2 Mon Sep 17 00:00:00 2001 From: Agus Zubiaga Date: Fri, 28 Nov 2025 11:16:44 -0300 Subject: [PATCH] Use test db for command palette under vim tests (#43731) --- crates/command_palette/Cargo.toml | 3 +++ crates/vim/Cargo.toml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/crates/command_palette/Cargo.toml b/crates/command_palette/Cargo.toml index f21c202721..bd86c10a80 100644 --- a/crates/command_palette/Cargo.toml +++ b/crates/command_palette/Cargo.toml @@ -8,6 +8,9 @@ license = "GPL-3.0-or-later" [lints] workspace = true +[features] +test-support = ["db/test-support"] + [lib] path = "src/command_palette.rs" doctest = false diff --git a/crates/vim/Cargo.toml b/crates/vim/Cargo.toml index 1262a615f7..a5834f8550 100644 --- a/crates/vim/Cargo.toml +++ b/crates/vim/Cargo.toml @@ -55,7 +55,7 @@ zed_actions.workspace = true [dev-dependencies] assets.workspace = true -command_palette.workspace = true +command_palette = { workspace = true, features = ["test-support"] } editor = { workspace = true, features = ["test-support"] } git_ui.workspace = true gpui = { workspace = true, features = ["test-support"] }