fix the test

This commit is contained in:
Aleksey Kladov 2018-12-19 15:58:34 +03:00
parent 1b946ef8a6
commit 51fec4ef84

View file

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