Fix tests

This commit is contained in:
Laurențiu Nicola 2021-10-15 20:28:28 +03:00
parent edb03ad6f1
commit 29d281e523
10 changed files with 69 additions and 23 deletions

View File

@ -23,7 +23,9 @@
},
},
severity: Some(
Warning,
DiagnosticSeverity(
2,
),
),
code: Some(
String(
@ -140,7 +142,9 @@
},
},
severity: Some(
Hint,
DiagnosticSeverity(
4,
),
),
code: Some(
String(
@ -231,7 +235,9 @@
},
},
severity: Some(
Hint,
DiagnosticSeverity(
4,
),
),
code: Some(
String(

View File

@ -23,7 +23,9 @@
},
},
severity: Some(
Error,
DiagnosticSeverity(
1,
),
),
code: Some(
String(

View File

@ -23,7 +23,9 @@
},
},
severity: Some(
Hint,
DiagnosticSeverity(
4,
),
),
code: None,
code_description: None,
@ -90,7 +92,9 @@
},
},
severity: Some(
Hint,
DiagnosticSeverity(
4,
),
),
code: None,
code_description: None,
@ -157,7 +161,9 @@
},
},
severity: Some(
Error,
DiagnosticSeverity(
1,
),
),
code: None,
code_description: None,

View File

@ -23,7 +23,9 @@
},
},
severity: Some(
Error,
DiagnosticSeverity(
1,
),
),
code: Some(
String(

View File

@ -23,7 +23,9 @@
},
},
severity: Some(
Error,
DiagnosticSeverity(
1,
),
),
code: Some(
String(

View File

@ -23,7 +23,9 @@
},
},
severity: Some(
Warning,
DiagnosticSeverity(
2,
),
),
code: Some(
String(
@ -67,7 +69,9 @@
),
tags: Some(
[
Unnecessary,
DiagnosticTag(
1,
),
],
),
data: None,
@ -98,7 +102,9 @@
},
},
severity: Some(
Hint,
DiagnosticSeverity(
4,
),
),
code: Some(
String(

View File

@ -23,7 +23,9 @@
},
},
severity: Some(
Hint,
DiagnosticSeverity(
4,
),
),
code: Some(
String(
@ -67,7 +69,9 @@
),
tags: Some(
[
Unnecessary,
DiagnosticTag(
1,
),
],
),
data: None,
@ -98,7 +102,9 @@
},
},
severity: Some(
Hint,
DiagnosticSeverity(
4,
),
),
code: Some(
String(

View File

@ -23,7 +23,9 @@
},
},
severity: Some(
Information,
DiagnosticSeverity(
3,
),
),
code: Some(
String(
@ -67,7 +69,9 @@
),
tags: Some(
[
Unnecessary,
DiagnosticTag(
1,
),
],
),
data: None,
@ -98,7 +102,9 @@
},
},
severity: Some(
Hint,
DiagnosticSeverity(
4,
),
),
code: Some(
String(

View File

@ -23,7 +23,9 @@
},
},
severity: Some(
Error,
DiagnosticSeverity(
1,
),
),
code: Some(
String(
@ -114,7 +116,9 @@
},
},
severity: Some(
Hint,
DiagnosticSeverity(
4,
),
),
code: Some(
String(

View File

@ -23,7 +23,9 @@
},
},
severity: Some(
Warning,
DiagnosticSeverity(
2,
),
),
code: Some(
String(
@ -140,7 +142,9 @@
},
},
severity: Some(
Hint,
DiagnosticSeverity(
4,
),
),
code: Some(
String(
@ -231,7 +235,9 @@
},
},
severity: Some(
Hint,
DiagnosticSeverity(
4,
),
),
code: Some(
String(