Fix compile and test errors

This commit is contained in:
Mikayla
2023-09-25 10:46:09 -07:00
parent ad7c1f3c81
commit c2fca054ae
2 changed files with 3 additions and 3 deletions
+2 -3
View File
@@ -1,13 +1,12 @@
use anyhow::{anyhow, bail, Result};
use async_compression::futures::bufread::GzipDecoder;
use async_tar::Archive;
use async_trait::async_trait;
pub use language::*;
use lsp::{LanguageServerBinary, SymbolKind};
use schemars::JsonSchema;
use serde_derive::{Deserialize, Serialize};
use settings::Setting;
use smol::{fs, io::BufReader, stream::StreamExt};
use smol::{fs, stream::StreamExt};
use std::{any::Any, env::consts, ops::Deref, path::PathBuf, sync::Arc};
use util::{
async_iife,
+1
View File
@@ -2388,6 +2388,7 @@ mod tests {
#[gpui::test]
fn test_bundled_languages(cx: &mut AppContext) {
cx.set_global(SettingsStore::test(cx));
let mut languages = LanguageRegistry::test();
languages.set_executor(cx.background().clone());
let languages = Arc::new(languages);