mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 12:33:33 +00:00
fix the test
This commit is contained in:
parent
1b946ef8a6
commit
51fec4ef84
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ fn test_vfs_works() -> std::io::Result<()> {
|
|||
let a_root = dir.path().join("a");
|
||||
let b_root = dir.path().join("a/b");
|
||||
|
||||
let mut vfs = Vfs::new(vec![a_root, b_root]);
|
||||
let (mut vfs, _) = Vfs::new(vec![a_root, b_root]);
|
||||
for _ in 0..2 {
|
||||
let task = vfs.task_receiver().recv().unwrap();
|
||||
vfs.handle_task(task);
|
||||
|
|
Loading…
Reference in a new issue