aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/tests
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-08-20 16:53:59 +0100
committerAleksey Kladov <[email protected]>2019-08-20 17:53:05 +0100
commit6ea4184fd107e5cc155b95a3cf058200c38d544d (patch)
treeca8cd031e10e64149e3fa6dc2ab0b53833b0b398 /crates/ra_lsp_server/tests
parent80a6e614465d8b16cae50f3626c15e912ad3c6f2 (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.rs10
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]
419fn preserves_dos_line_endings() { 419fn 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]
424name = "foo" 424name = \"foo\"
425version = "0.0.0" 425version = \"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