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:
parent
efa0fd498b
commit
9a2174ba02
15 changed files with 48 additions and 48 deletions
|
@ -2485,8 +2485,8 @@ fn test_follow_inotify_only_regular() {
|
|||
p.kill().unwrap();
|
||||
|
||||
let (buf_stdout, buf_stderr) = take_stdout_stderr(&mut p);
|
||||
assert_eq!(buf_stdout, "".to_string());
|
||||
assert_eq!(buf_stderr, "".to_string());
|
||||
assert_eq!(buf_stdout, String::new());
|
||||
assert_eq!(buf_stderr, String::new());
|
||||
}
|
||||
|
||||
fn take_stdout_stderr(p: &mut std::process::Child) -> (String, String) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue