aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/rust-analyzer/tests/rust-analyzer/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/rust-analyzer/tests/rust-analyzer/main.rs b/crates/rust-analyzer/tests/rust-analyzer/main.rs
index c4554e9d3..3d99c1f52 100644
--- a/crates/rust-analyzer/tests/rust-analyzer/main.rs
+++ b/crates/rust-analyzer/tests/rust-analyzer/main.rs
@@ -785,7 +785,7 @@ fn main() {}
785 "documentChanges": [ 785 "documentChanges": [
786 { 786 {
787 "textDocument": { 787 "textDocument": {
788 "uri": format!("file://{}", tmp_dir_path.join("src").join("lib.rs").to_str().unwrap()), 788 "uri": format!("file://{}", tmp_dir_path.join("src").join("lib.rs").to_str().unwrap().to_string().replace("C:\\", "/c:/").replace("\\", "/")),
789 "version": null 789 "version": null
790 }, 790 },
791 "edits": [ 791 "edits": [
@@ -846,7 +846,7 @@ fn main() {}
846 "documentChanges": [ 846 "documentChanges": [
847 { 847 {
848 "textDocument": { 848 "textDocument": {
849 "uri": format!("file://{}", tmp_dir_path.join("src").join("lib.rs").to_str().unwrap()), 849 "uri": format!("file://{}", tmp_dir_path.join("src").join("lib.rs").to_str().unwrap().to_string().replace("C:\\", "/c:/").replace("\\", "/")),
850 "version": null 850 "version": null
851 }, 851 },
852 "edits": [ 852 "edits": [