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 b5b2d6e commit cc04928Copy full SHA for cc04928
crates/emmylua_code_analysis/src/diagnostic/test/unknown_doc_tag.rs
@@ -7,6 +7,12 @@ mod tests {
7
#[test]
8
fn test_unknown_doc_tag() {
9
let mut ws = VirtualWorkspace::new();
10
+ let mut emmyrc = ws.analysis.emmyrc.deref().clone();
11
+ emmyrc
12
+ .diagnostics
13
+ .enables
14
+ .push(DiagnosticCode::UnknownDocTag);
15
+ ws.analysis.update_config(Arc::new(emmyrc));
16
assert!(!ws.check_code_for(
17
DiagnosticCode::UnknownDocTag,
18
r#"
0 commit comments