mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
rustfmt the recent change
This commit is contained in:
parent
d0c7e8c09e
commit
c5b43c0994
10 changed files with 43 additions and 32 deletions
|
@ -46,7 +46,8 @@ fn test_id_from_name() {
|
|||
let result = new_ucmd!().arg(&username).succeeds();
|
||||
let uid = result.stdout_str().trim();
|
||||
|
||||
new_ucmd!().succeeds()
|
||||
new_ucmd!()
|
||||
.succeeds()
|
||||
// Verify that the id found by --user/-u exists in the list
|
||||
.stdout_contains(uid)
|
||||
// Verify that the username found by whoami exists in the list
|
||||
|
@ -65,10 +66,7 @@ fn test_id_name_from_id() {
|
|||
return;
|
||||
}
|
||||
|
||||
let username_id = result
|
||||
.success()
|
||||
.stdout_str()
|
||||
.trim();
|
||||
let username_id = result.success().stdout_str().trim();
|
||||
|
||||
let scene = TestScenario::new("whoami");
|
||||
let result = scene.cmd("whoami").succeeds();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue