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

chore: standardize creation of empty strings

This commit is contained in:
Daniel Hofstetter 2022-11-30 10:37:59 +01:00
parent efa0fd498b
commit 9a2174ba02
15 changed files with 48 additions and 48 deletions

View file

@ -57,7 +57,7 @@ fn test_long_format_multiple_users() {
// and an account that (probably) doesn't exist
let runner = match std::env::var("USER") {
Ok(user) => user,
Err(_) => "".to_string(),
Err(_) => String::new(),
};
let args = ["-l", "root", "root", "root", &runner, "no_such_user"];
let ts = TestScenario::new(util_name!());