fmt: apply rustfmt
This commit is contained in:
@@ -1430,11 +1430,8 @@ mod chroot_cleanup_tests {
|
||||
let chroot = dir.path().join("chroot");
|
||||
std::fs::create_dir_all(chroot.join("dev")).unwrap();
|
||||
for (name, _, _) in EphemeralContextGuard::DEVICE_NODES {
|
||||
std::os::unix::fs::symlink(
|
||||
format!("/dev/{name}"),
|
||||
chroot.join("dev").join(name),
|
||||
)
|
||||
.unwrap();
|
||||
std::os::unix::fs::symlink(format!("/dev/{name}"), chroot.join("dev").join(name))
|
||||
.unwrap();
|
||||
}
|
||||
|
||||
assert!(EphemeralContextGuard::device_nodes_ready(&chroot));
|
||||
|
||||
Reference in New Issue
Block a user