Fix tests

This commit is contained in:
lucasholten 2025-01-01 16:42:29 +01:00
parent e12fe30351
commit 86441c5bb9
2 changed files with 2 additions and 2 deletions

View file

@ -140,7 +140,7 @@ fn to_crate_graph(
project_workspace.to_crate_graph(
&mut {
|path| {
let len = file_map.len();
let len = file_map.len() + 1;
Some(*file_map.entry(path.to_path_buf()).or_insert(FileId::from_raw(len as u32)))
}
},

View file

@ -479,7 +479,7 @@
},
11: CrateData {
root_file_id: FileId(
12,
11,
),
edition: Edition2018,
version: None,