From 5c8cb56506646637e45a646657baf12fa9a8f49a Mon Sep 17 00:00:00 2001 From: gfreezy Date: Wed, 16 Jan 2019 21:39:01 +0800 Subject: move rename to a new mod --- .../tests/test/snapshots/test__rename_mod.snap | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 crates/ra_ide_api/tests/test/snapshots/test__rename_mod.snap (limited to 'crates/ra_ide_api/tests/test/snapshots/test__rename_mod.snap') diff --git a/crates/ra_ide_api/tests/test/snapshots/test__rename_mod.snap b/crates/ra_ide_api/tests/test/snapshots/test__rename_mod.snap new file mode 100644 index 000000000..54f622b95 --- /dev/null +++ b/crates/ra_ide_api/tests/test/snapshots/test__rename_mod.snap @@ -0,0 +1,36 @@ +Created: 2019-01-16T14:12:39.379431+00:00 +Creator: insta@0.1.4 +Source: crates/ra_ide_api/tests/test/main.rs + +Some( + SourceChange { + label: "rename", + source_file_edits: [ + SourceFileEdit { + file_id: FileId( + 1 + ), + edit: TextEdit { + atoms: [ + AtomTextEdit { + delete: [4; 7), + insert: "foo2" + } + ] + } + } + ], + file_system_edits: [ + MoveFile { + src: FileId( + 2 + ), + dst_source_root: SourceRootId( + 0 + ), + dst_path: "bar/foo2.rs" + } + ], + cursor_position: None + } +) -- cgit v1.2.3