Fix compile and test errors
This commit is contained in:
parent
ad7c1f3c81
commit
c2fca054ae
2 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue