mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 22:54:58 +00:00
internal: Move out WithFixture
into dev-dep only crate
This commit is contained in:
parent
ec6162308e
commit
f49a2fed3f
59 changed files with 189 additions and 119 deletions
|
@ -29,7 +29,7 @@ parking_lot = "0.12.1"
|
|||
xflags = "0.3.0"
|
||||
oorandom = "11.1.3"
|
||||
rayon.workspace = true
|
||||
rustc-hash = "1.1.0"
|
||||
rustc-hash.workspace = true
|
||||
serde_json = { workspace = true, features = ["preserve_order"] }
|
||||
serde.workspace = true
|
||||
num_cpus = "1.15.0"
|
||||
|
@ -76,6 +76,7 @@ expect-test = "1.4.0"
|
|||
xshell.workspace = true
|
||||
|
||||
test-utils.workspace = true
|
||||
test-fixture.workspace = true
|
||||
sourcegen.workspace = true
|
||||
mbe.workspace = true
|
||||
|
||||
|
|
|
@ -278,8 +278,8 @@ fn token_to_symbol(token: &TokenStaticData) -> Option<scip_types::Symbol> {
|
|||
mod test {
|
||||
use super::*;
|
||||
use ide::{AnalysisHost, FilePosition, StaticIndex, TextSize};
|
||||
use ide_db::fixture::ChangeFixture;
|
||||
use scip::symbol::format_symbol;
|
||||
use test_fixture::ChangeFixture;
|
||||
|
||||
fn position(ra_fixture: &str) -> (AnalysisHost, FilePosition) {
|
||||
let mut host = AnalysisHost::default();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue