Skip to content

Commit 37e744a

Browse files
committed
Fix tests checking the data value
1 parent 073a63b commit 37e744a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/rust-analyzer/src/diagnostics/to_proto.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -536,6 +536,7 @@ mod tests {
536536
);
537537
let snap = state.snapshot();
538538
let actual = map_rust_diagnostic_to_lsp(&config, &diagnostic, workspace_root, &snap);
539+
actual.iter_mut().for_each(|diag| diag.diagnostic.data = None);
539540
expect.assert_debug_eq(&actual)
540541
}
541542

0 commit comments

Comments
 (0)