aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_ide/src/references.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_ide/src/references.rs b/crates/ra_ide/src/references.rs
index d1f52f808..5a3ec4eb9 100644
--- a/crates/ra_ide/src/references.rs
+++ b/crates/ra_ide/src/references.rs
@@ -534,11 +534,11 @@ mod tests {
534 } 534 }
535 535
536 impl Reference { 536 impl Reference {
537 pub fn debug_render(&self) -> String { 537 fn debug_render(&self) -> String {
538 format!("{:?} {:?} {:?}", self.file_range.file_id, self.file_range.range, self.kind) 538 format!("{:?} {:?} {:?}", self.file_range.file_id, self.file_range.range, self.kind)
539 } 539 }
540 540
541 pub fn assert_match(&self, expected: &str) { 541 fn assert_match(&self, expected: &str) {
542 let actual = self.debug_render(); 542 let actual = self.debug_render();
543 test_utils::assert_eq_text!(expected.trim(), actual.trim(),); 543 test_utils::assert_eq_text!(expected.trim(), actual.trim(),);
544 } 544 }