From 23f571d64ccf92a5c1d1626d938da4f7a6a40ab2 Mon Sep 17 00:00:00 2001 From: Agus Zubiaga Date: Thu, 8 Jan 2026 18:30:07 -0300 Subject: [PATCH] ep: Enable workspace test-support (#46395) Some code got added to `workspace` that prevents us from running tests for the `edit_prediction(cli)` crates specifically without the `test-support` feature flag. Release Notes: - N/A Co-authored-by: Ben Kunkle --- Cargo.lock | 1 + crates/edit_prediction/Cargo.toml | 1 + crates/edit_prediction_cli/Cargo.toml | 5 +++-- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2393bd29d5a6beb8806af2019f9fd3544a1a7ee0..bdadfd87671de830fb42109e9edd0dd161fa837d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5313,6 +5313,7 @@ dependencies = [ "util", "wasmtime", "watch", + "workspace", "zeta_prompt", ] diff --git a/crates/edit_prediction/Cargo.toml b/crates/edit_prediction/Cargo.toml index f2534545abc04ce769cf46be7692f7954bb0bfcf..394afc0eb701f2fd1fba6c5fa733fb76ca5781b1 100644 --- a/crates/edit_prediction/Cargo.toml +++ b/crates/edit_prediction/Cargo.toml @@ -78,4 +78,5 @@ lsp.workspace = true parking_lot.workspace = true project = { workspace = true, features = ["test-support"] } settings = { workspace = true, features = ["test-support"] } +workspace = { workspace = true, features = ["test-support"] } zlog.workspace = true diff --git a/crates/edit_prediction_cli/Cargo.toml b/crates/edit_prediction_cli/Cargo.toml index 874f344865e2517f3622f44ae0e08462cf40df5a..b8d35c2b8be2a961aa0267883013be0c058d1697 100644 --- a/crates/edit_prediction_cli/Cargo.toml +++ b/crates/edit_prediction_cli/Cargo.toml @@ -67,8 +67,9 @@ similar = "2.7.0" ignored = ["wasmtime"] [dev-dependencies] -indoc.workspace = true gpui = { workspace = true, features = ["test-support"] } -project = { workspace = true, features = ["test-support"] } +indoc.workspace = true pretty_assertions.workspace = true +project = { workspace = true, features = ["test-support"] } tempfile.workspace = true +workspace = { workspace = true, features = ["test-support"] }