Skip to content

Commit 7f4c516

Browse files
committed
fix: imports
1 parent 0439f95 commit 7f4c516

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

crates/pg_base_db/src/change.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,8 @@ impl DocumentChange {
291291
mod tests {
292292
use text_size::{TextRange, TextSize};
293293

294-
use crate::{change::Change, document::StatementRef, Document, DocumentChange, PgLspPath};
294+
use crate::{change::Change, document::StatementRef, Document, DocumentChange};
295+
use pg_fs::PgLspPath;
295296

296297
#[test]
297298
fn test_document_apply_changes() {

crates/pg_base_db/src/document.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,9 @@ impl Document {
163163
mod tests {
164164

165165
use text_size::{TextRange, TextSize};
166+
use pg_fs::PgLspPath;
166167

167-
use crate::{Document, PgLspPath};
168+
use crate::{Document};
168169

169170
#[test]
170171
fn test_statements_at_range() {

crates/pg_lsp/src/utils/line_index_ext.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ impl LineIndexExt for LineIndex {
5454

5555
#[cfg(test)]
5656
mod tests {
57-
use pg_base_db::{Document, PgLspPath};
57+
use pg_base_db::Document;
58+
use pg_fs::PgLspPath;
5859
use text_size::{TextRange, TextSize};
5960

6061
use crate::utils::line_index_ext::LineIndexExt;

crates/pg_workspace/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,8 @@ mod tests {
185185
use pg_diagnostics::Diagnostic;
186186
use text_size::{TextRange, TextSize};
187187

188-
use crate::{PgLspPath, Workspace};
188+
use crate::Workspace;
189+
use pg_fs::PgLspPath;
189190

190191
#[test]
191192
fn test_apply_change() {

0 commit comments

Comments
 (0)