Skip to content

Commit 9cd04dd

Browse files
ok
1 parent e55271f commit 9cd04dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/pgt_completions/src/test_helper.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ pub(crate) async fn get_test_deps(
4444
.expect("Failed to execute setup query");
4545
}
4646

47-
let schema_cache = SchemaCache::load(&test_db)
47+
let schema_cache = SchemaCache::load(test_db)
4848
.await
4949
.expect("Failed to load Schema Cache");
5050

crates/pgt_typecheck/tests/diagnostics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ async fn test(name: &str, query: &str, setup: Option<&str>, test_db: &PgPool) {
1919
.set_language(tree_sitter_sql::language())
2020
.expect("Error loading sql language");
2121

22-
let schema_cache = pgt_schema_cache::SchemaCache::load(&test_db)
22+
let schema_cache = pgt_schema_cache::SchemaCache::load(test_db)
2323
.await
2424
.expect("Failed to load Schema Cache");
2525

0 commit comments

Comments
 (0)