diff --git a/src/runtime/mod.rs b/src/runtime/mod.rs index a681c81e80..4e9adfbe33 100644 --- a/src/runtime/mod.rs +++ b/src/runtime/mod.rs @@ -295,7 +295,7 @@ mod tests { .expect("failed to canonicalize rootfs"); assert_eq!( - &rootfs_absolute_path, + &rootfs_absolute_path.canonicalize().unwrap(), spec.root.expect("no root in spec").path() ); } @@ -310,7 +310,7 @@ mod tests { .expect("failed to canonicalize rootfs"); assert_eq!( - &rootfs_absolute_path, + &rootfs_absolute_path.canonicalize().unwrap(), spec.root.expect("no root in spec").path() ); }