490: dont depend on tools from lsp-server r=matklad a=matklad



Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
bors[bot] 2019-01-10 21:46:56 +00:00
commit b6bc55f542
4 changed files with 1 additions and 4 deletions

View file

@ -8,6 +8,7 @@ build: &rust_build
language: rust
rust: 1.31.1
script:
- rustup component add rustfmt
- cargo gen-tests --verify
- cargo gen-syntax --verify
- cargo test --no-run # let's measure compile time separately

1
Cargo.lock generated
View file

@ -749,7 +749,6 @@ dependencies = [
"text_unit 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
"thread_worker 0.1.0",
"threadpool 1.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
"tools 0.1.0",
"url_serde 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
"walkdir 2.2.7 (registry+https://github.com/rust-lang/crates.io-index)",
]

View file

@ -37,4 +37,3 @@ ra_vfs = { path = "../ra_vfs" }
[dev-dependencies]
tempfile = "3"
test_utils = { path = "../test_utils" }
tools = { path = "../tools" }

View file

@ -125,8 +125,6 @@ fn test_eggs() {}
use std::collections::HashMap;
#[test]
fn test_format_document() {
tools::install_rustfmt().unwrap();
let server = project(
r#"
[package]