Improve call_hierarchy and incoming/outgoing_calls

This commit is contained in:
Lukas Wirth 2021-09-16 02:25:02 +02:00
parent 33cdc21832
commit d777eddf0d
2 changed files with 177 additions and 97 deletions

View file

@ -112,12 +112,6 @@ impl NavigationTarget {
module.to_nav(db)
}
#[cfg(test)]
pub(crate) fn assert_match(&self, expected: &str) {
let actual = self.debug_render();
test_utils::assert_eq_text!(expected.trim(), actual.trim(),);
}
#[cfg(test)]
pub(crate) fn debug_render(&self) -> String {
let mut buf = format!(