From fd927ea3a9ea687ba11b01e56579f0287221f55c Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 21 Dec 2018 12:30:28 +0300 Subject: use root-relative paths --- crates/ra_analysis/tests/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_analysis/tests/tests.rs') diff --git a/crates/ra_analysis/tests/tests.rs b/crates/ra_analysis/tests/tests.rs index 889b568b9..67738da48 100644 --- a/crates/ra_analysis/tests/tests.rs +++ b/crates/ra_analysis/tests/tests.rs @@ -81,7 +81,7 @@ fn test_unresolved_module_diagnostic() { fix: Some(SourceChange { label: "create module", source_file_edits: [], - file_system_edits: [CreateFile { anchor: FileId(1), path: "../foo.rs" }], + file_system_edits: [CreateFile { source_root: SourceRootId(0), path: "foo.rs" }], cursor_position: None }) }]"#, &diagnostics, ); -- cgit v1.2.3