1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

fixed panic! formatting

This commit is contained in:
Mikadore 2021-03-31 13:30:06 +02:00
parent 96643d6f91
commit b8079098f2
5 changed files with 22 additions and 23 deletions

View file

@ -1038,7 +1038,7 @@ fn test_cp_one_file_system() {
.arg("tmpfs")
.arg(mountpoint_path)
.run();
assert!(_r.code == Some(0), _r.stderr);
assert!(_r.code == Some(0), "{}", _r.stderr);
at_src.touch(TEST_MOUNT_OTHER_FILESYSTEM_FILE);
@ -1052,7 +1052,7 @@ fn test_cp_one_file_system() {
// Ditch the mount before the asserts
let _r = scene.cmd("umount").arg(mountpoint_path).run();
assert!(_r.code == Some(0), _r.stderr);
assert!(_r.code == Some(0), "{}", _r.stderr);
assert!(result.success);
assert!(!at_dst.file_exists(TEST_MOUNT_OTHER_FILESYSTEM_FILE));