aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/tests
diff options
context:
space:
mode:
authorAleksander Vognild Burkow <[email protected]>2018-12-29 21:19:35 +0000
committerAleksander Vognild Burkow <[email protected]>2018-12-29 22:38:26 +0000
commited47c93afe7f9dd2c27956905e7fb9fcf9d5baf2 (patch)
tree691870caab58a8142e0d553783b4fa8081e98831 /crates/ra_lsp_server/tests
parent09c20c8fcfa555465d367d4c09ac9f89259d5cf5 (diff)
Install rustfmt in rustfmt test
Diffstat (limited to 'crates/ra_lsp_server/tests')
-rw-r--r--crates/ra_lsp_server/tests/heavy_tests/main.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/ra_lsp_server/tests/heavy_tests/main.rs b/crates/ra_lsp_server/tests/heavy_tests/main.rs
index e9f02a6e4..b0e1e65b6 100644
--- a/crates/ra_lsp_server/tests/heavy_tests/main.rs
+++ b/crates/ra_lsp_server/tests/heavy_tests/main.rs
@@ -121,6 +121,8 @@ fn test_eggs() {}
121use std::collections::HashMap; 121use std::collections::HashMap;
122#[test] 122#[test]
123fn test_format_document() { 123fn test_format_document() {
124 tools::install_rustfmt().unwrap();
125
124 let server = project( 126 let server = project(
125 r#" 127 r#"
126[package] 128[package]