Remove unused dependencies and avoid instantiating FontCache in tests

This commit is contained in:
Antonio Scandurra
2021-03-25 10:48:32 +01:00
parent 5f3dbb05d6
commit 0906b2a2f4
7 changed files with 11 additions and 21 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ fn open_paths(params: &OpenParams, app: &mut MutableAppContext) {
mod tests {
use super::*;
use crate::{settings, test::*};
use gpui::{App, FontCache};
use gpui::App;
use serde_json::json;
#[test]
+1 -1
View File
@@ -325,7 +325,7 @@ mod tests {
use super::{pane, Workspace, WorkspaceView};
use crate::{settings, test::temp_tree, workspace::WorkspaceHandle as _};
use anyhow::Result;
use gpui::{App, FontCache};
use gpui::App;
use serde_json::json;
#[test]