Define empty theme for tests regardless of cargo features

Co-authored-by: Kirill <kirill@zed.dev>
This commit is contained in:
Max Brunsfeld 2023-05-18 09:01:38 -07:00
parent 5c437e2098
commit 71ad7e7612
3 changed files with 1 additions and 2 deletions

View file

@ -30,7 +30,6 @@ impl ThemeRegistry {
font_cache,
});
#[cfg(any(test, feature = "test-support"))]
this.themes.lock().insert(
settings::EMPTY_THEME_NAME.to_string(),
gpui::fonts::with_font_cache(this.font_cache.clone(), || {