Skip to content

Commit cc04928

Browse files
committed
Fix test
1 parent b5b2d6e commit cc04928

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

crates/emmylua_code_analysis/src/diagnostic/test/unknown_doc_tag.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ mod tests {
77
#[test]
88
fn test_unknown_doc_tag() {
99
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));
1016
assert!(!ws.check_code_for(
1117
DiagnosticCode::UnknownDocTag,
1218
r#"

0 commit comments

Comments
 (0)