Skip to content

Commit 024ad63

Browse files
committed
fix test
1 parent 0c94d66 commit 024ad63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/pg_workspace/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ mod tests {
192192
use pg_base_db::{Change, DocumentChange};
193193
use text_size::{TextRange, TextSize};
194194

195-
use crate::{diagnostics::Diagnostic, Workspace};
195+
use crate::{diagnostics::{Diagnostic, Severity}, Workspace};
196196
use pg_fs::PgLspPath;
197197

198198
#[test]
@@ -396,7 +396,7 @@ mod tests {
396396
Diagnostic {
397397
message: "Dropping a column may break existing clients.".to_string(),
398398
description: None,
399-
severity: pg_diagnostics::Severity::Warning,
399+
severity: Severity::Warning,
400400
source: "lint".to_string(),
401401
range: TextRange::new(TextSize::new(50), TextSize::new(64)),
402402
}

0 commit comments

Comments
 (0)