From 3023cf3e28cfb055f82bb912f41de470b2d1753a Mon Sep 17 00:00:00 2001 From: holoflash <114405740+holoflash@users.noreply.github.com> Date: Sat, 14 Feb 2026 09:18:48 +0100 Subject: [PATCH] chore: remove no-longer needed search_on_input=false toggle before tests (#49161) Just cleaning up after myself. When search_on_input was toggled default [in this PR](https://github.com/zed-industries/zed/pull/42889/changes/1f831e028d4de9e872a78b0af8b9d24e33f7d3c7) I toggled it to false before a few tests that weren't expecting it. Then [this PR changed](https://github.com/zed-industries/zed/pull/49150) it to be false by default and the extra toggle before the tests slipped through. Think it's a good idea to remove this to avoid any confusion in the future. @SomeoneToIgnore Release Notes: - N/A --- crates/search/src/project_search.rs | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/crates/search/src/project_search.rs b/crates/search/src/project_search.rs index 81ad9ac3b41baeaef291252be7bde2dd4695b6f2..4587f0837056dd68d82f74209b755e51db89e2b3 100644 --- a/crates/search/src/project_search.rs +++ b/crates/search/src/project_search.rs @@ -2576,8 +2576,7 @@ pub mod tests { use project::FakeFs; use serde_json::json; use settings::{ - InlayHintSettingsContent, SearchSettingsContent, SettingsStore, ThemeColorsContent, - ThemeStyleContent, + InlayHintSettingsContent, SettingsStore, ThemeColorsContent, ThemeStyleContent, }; use util::{path, paths::PathStyle, rel_path::rel_path}; use util_macros::perf; @@ -4796,15 +4795,6 @@ pub mod tests { let settings = SettingsStore::test(cx); cx.set_global(settings); - SettingsStore::update_global(cx, |store, cx| { - store.update_user_settings(cx, |settings| { - settings.editor.search = Some(SearchSettingsContent { - search_on_input: Some(false), - ..Default::default() - }); - }); - }); - theme::init(theme::LoadThemes::JustBase, cx); editor::init(cx);