⬆️ insta

This commit is contained in:
Aleksey Kladov 2019-08-29 16:49:10 +03:00
parent 5a99184967
commit 0f6c048ce1
26 changed files with 1446 additions and 1486 deletions

View file

@ -200,7 +200,7 @@ mod tests {
mock_analysis::analysis_and_position, mock_analysis::single_file_with_position, FileId,
ReferenceSearchResult,
};
use insta::assert_debug_snapshot_matches;
use insta::assert_debug_snapshot;
use test_utils::assert_eq_text;
#[test]
@ -341,7 +341,7 @@ mod tests {
);
let new_name = "foo2";
let source_change = analysis.rename(position, new_name).unwrap();
assert_debug_snapshot_matches!(&source_change,
assert_debug_snapshot!(&source_change,
@r#"Some(
SourceChange {
label: "rename",
@ -388,7 +388,7 @@ mod tests {
);
let new_name = "foo2";
let source_change = analysis.rename(position, new_name).unwrap();
assert_debug_snapshot_matches!(&source_change,
assert_debug_snapshot!(&source_change,
@r###"Some(
SourceChange {
label: "rename",