mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
tail: remove useless use of vec! in test
This commit is contained in:
parent
692cdfac34
commit
320bdcf29e
1 changed files with 1 additions and 1 deletions
|
@ -3599,7 +3599,7 @@ fn test_when_argument_file_is_non_existent_unix_socket_address_then_error() {
|
|||
let result = file.write_all(random_string.as_bytes());
|
||||
assert!(result.is_ok());
|
||||
|
||||
let expected_stdout = vec![format!("==> {} <==", path), random_string].join("\n");
|
||||
let expected_stdout = [format!("==> {} <==", path), random_string].join("\n");
|
||||
ts.ucmd()
|
||||
.args(&["-c", "+0", path, socket])
|
||||
.fails()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue