diff options
author | Aleksey Kladov <[email protected]> | 2019-08-20 16:53:59 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-08-20 17:53:05 +0100 |
commit | 6ea4184fd107e5cc155b95a3cf058200c38d544d (patch) | |
tree | ca8cd031e10e64149e3fa6dc2ab0b53833b0b398 /crates/ra_lsp_server/tests | |
parent | 80a6e614465d8b16cae50f3626c15e912ad3c6f2 (diff) |
translate \n -> \r\n on the way out
Diffstat (limited to 'crates/ra_lsp_server/tests')
-rw-r--r-- | crates/ra_lsp_server/tests/heavy_tests/main.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/crates/ra_lsp_server/tests/heavy_tests/main.rs b/crates/ra_lsp_server/tests/heavy_tests/main.rs index ec075a2fd..152681062 100644 --- a/crates/ra_lsp_server/tests/heavy_tests/main.rs +++ b/crates/ra_lsp_server/tests/heavy_tests/main.rs | |||
@@ -208,7 +208,7 @@ pub use std::collections::HashMap; | |||
208 | "range": { | 208 | "range": { |
209 | "end": { | 209 | "end": { |
210 | "character": 0, | 210 | "character": 0, |
211 | "line": 6 | 211 | "line": 7 |
212 | }, | 212 | }, |
213 | "start": { | 213 | "start": { |
214 | "character": 0, | 214 | "character": 0, |
@@ -418,15 +418,15 @@ fn main() {{}} | |||
418 | #[test] | 418 | #[test] |
419 | fn preserves_dos_line_endings() { | 419 | fn preserves_dos_line_endings() { |
420 | let server = Project::with_fixture( | 420 | let server = Project::with_fixture( |
421 | &r#" | 421 | &" |
422 | //- Cargo.toml | 422 | //- Cargo.toml |
423 | [package] | 423 | [package] |
424 | name = "foo" | 424 | name = \"foo\" |
425 | version = "0.0.0" | 425 | version = \"0.0.0\" |
426 | 426 | ||
427 | //- src/main.rs | 427 | //- src/main.rs |
428 | /// Some Docs\r\nfn main() {} | 428 | /// Some Docs\r\nfn main() {} |
429 | "#, | 429 | ", |
430 | ) | 430 | ) |
431 | .server(); | 431 | .server(); |
432 | 432 | ||