We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c94d66 commit 024ad63Copy full SHA for 024ad63
crates/pg_workspace/src/lib.rs
@@ -192,7 +192,7 @@ mod tests {
192
use pg_base_db::{Change, DocumentChange};
193
use text_size::{TextRange, TextSize};
194
195
- use crate::{diagnostics::Diagnostic, Workspace};
+ use crate::{diagnostics::{Diagnostic, Severity}, Workspace};
196
use pg_fs::PgLspPath;
197
198
#[test]
@@ -396,7 +396,7 @@ mod tests {
396
Diagnostic {
397
message: "Dropping a column may break existing clients.".to_string(),
398
description: None,
399
- severity: pg_diagnostics::Severity::Warning,
+ severity: Severity::Warning,
400
source: "lint".to_string(),
401
range: TextRange::new(TextSize::new(50), TextSize::new(64)),
402
}
0 commit comments