Skip to content

Commit 7724b2f

Browse files
fix: handle schema cache result in test utils
1 parent 9d77de0 commit 7724b2f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

crates/pg_completions/src/test_helper.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ pub(crate) async fn get_test_deps(
1717
.await
1818
.expect("Failed to execute setup query");
1919

20-
let schema_cache = SchemaCache::load(&test_db).await;
20+
let schema_cache = SchemaCache::load(&test_db)
21+
.await
22+
.expect("Failed to load Schema Cache");
2123

2224
let mut parser = tree_sitter::Parser::new();
2325
parser

0 commit comments

Comments
 (0)