aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/references.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_ide_api/src/references.rs')
-rw-r--r--crates/ra_ide_api/src/references.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_ide_api/src/references.rs b/crates/ra_ide_api/src/references.rs
index 342e73fd3..d8a00067f 100644
--- a/crates/ra_ide_api/src/references.rs
+++ b/crates/ra_ide_api/src/references.rs
@@ -200,7 +200,7 @@ mod tests {
200 mock_analysis::analysis_and_position, mock_analysis::single_file_with_position, FileId, 200 mock_analysis::analysis_and_position, mock_analysis::single_file_with_position, FileId,
201 ReferenceSearchResult, 201 ReferenceSearchResult,
202 }; 202 };
203 use insta::assert_debug_snapshot_matches; 203 use insta::assert_debug_snapshot;
204 use test_utils::assert_eq_text; 204 use test_utils::assert_eq_text;
205 205
206 #[test] 206 #[test]
@@ -341,7 +341,7 @@ mod tests {
341 ); 341 );
342 let new_name = "foo2"; 342 let new_name = "foo2";
343 let source_change = analysis.rename(position, new_name).unwrap(); 343 let source_change = analysis.rename(position, new_name).unwrap();
344 assert_debug_snapshot_matches!(&source_change, 344 assert_debug_snapshot!(&source_change,
345@r#"Some( 345@r#"Some(
346 SourceChange { 346 SourceChange {
347 label: "rename", 347 label: "rename",
@@ -388,7 +388,7 @@ mod tests {
388 ); 388 );
389 let new_name = "foo2"; 389 let new_name = "foo2";
390 let source_change = analysis.rename(position, new_name).unwrap(); 390 let source_change = analysis.rename(position, new_name).unwrap();
391 assert_debug_snapshot_matches!(&source_change, 391 assert_debug_snapshot!(&source_change,
392 @r###"Some( 392 @r###"Some(
393 SourceChange { 393 SourceChange {
394 label: "rename", 394 label: "rename",