mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-27 19:02:07 +00:00
Add missing .unwrap()
This commit is contained in:
parent
85f5e7d0bb
commit
08d2ba72d6
1 changed files with 4 additions and 1 deletions
|
@ -63,7 +63,10 @@ async fn test_semantic_index(cx: &mut TestAppContext) {
|
|||
languages.add(rust_language);
|
||||
languages.add(toml_language);
|
||||
|
||||
let db_dir = tempfile::Builder::new().prefix("vector-store").tempdir();
|
||||
let db_dir = tempfile::Builder::new()
|
||||
.prefix("vector-store")
|
||||
.tempdir()
|
||||
.unwrap();
|
||||
let db_path = db_dir.path().join("db.sqlite");
|
||||
|
||||
let embedding_provider = Arc::new(FakeEmbeddingProvider::default());
|
||||
|
|
Loading…
Reference in a new issue