diff options
author | Aleksey Kladov <[email protected]> | 2018-12-19 12:58:34 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-12-20 09:15:38 +0000 |
commit | 51fec4ef844d7fe83bf96c74e02e5f820837ff2d (patch) | |
tree | a37bbfeecee6bb06e61f44fe5285f7c7964618a5 /crates | |
parent | 1b946ef8a61fa520459435d4e1cd674e0c550771 (diff) |
fix the test
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_vfs/tests/vfs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_vfs/tests/vfs.rs b/crates/ra_vfs/tests/vfs.rs index 4f44215c8..f56fc4603 100644 --- a/crates/ra_vfs/tests/vfs.rs +++ b/crates/ra_vfs/tests/vfs.rs | |||
@@ -25,7 +25,7 @@ fn test_vfs_works() -> std::io::Result<()> { | |||
25 | let a_root = dir.path().join("a"); | 25 | let a_root = dir.path().join("a"); |
26 | let b_root = dir.path().join("a/b"); | 26 | let b_root = dir.path().join("a/b"); |
27 | 27 | ||
28 | let mut vfs = Vfs::new(vec![a_root, b_root]); | 28 | let (mut vfs, _) = Vfs::new(vec![a_root, b_root]); |
29 | for _ in 0..2 { | 29 | for _ in 0..2 { |
30 | let task = vfs.task_receiver().recv().unwrap(); | 30 | let task = vfs.task_receiver().recv().unwrap(); |
31 | vfs.handle_task(task); | 31 | vfs.handle_task(task); |