Skip to content

Commit

Permalink
Fix tests checking the data value
Browse files Browse the repository at this point in the history
  • Loading branch information
Veykril committed Nov 18, 2022
1 parent 073a63b commit 37e744a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/rust-analyzer/src/diagnostics/to_proto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,7 @@ mod tests {
);
let snap = state.snapshot();
let actual = map_rust_diagnostic_to_lsp(&config, &diagnostic, workspace_root, &snap);
actual.iter_mut().for_each(|diag| diag.diagnostic.data = None);
expect.assert_debug_eq(&actual)
}

Expand Down

0 comments on commit 37e744a

Please sign in to comment.