Skip to content

Commit 02aae16

Browse files
authored
Update mod.rs
1 parent 1bab64e commit 02aae16

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/runtime/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ mod tests {
295295
.expect("failed to canonicalize rootfs");
296296

297297
assert_eq!(
298-
&rootfs_absolute_path,
298+
&rootfs_absolute_path.canonicalize().unwrap(),
299299
spec.root.expect("no root in spec").path()
300300
);
301301
}
@@ -310,7 +310,7 @@ mod tests {
310310
.expect("failed to canonicalize rootfs");
311311

312312
assert_eq!(
313-
&rootfs_absolute_path,
313+
&rootfs_absolute_path.canonicalize().unwrap(),
314314
spec.root.expect("no root in spec").path()
315315
);
316316
}

0 commit comments

Comments
 (0)