internal: Move out WithFixture into dev-dep only crate

This commit is contained in:
Lukas Wirth 2023-12-18 14:53:11 +01:00
parent ec6162308e
commit f49a2fed3f
59 changed files with 189 additions and 119 deletions

View file

@ -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

View file

@ -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();