1
Fork 0
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:
Daniel Hofstetter 2024-05-12 15:32:24 +02:00
parent 692cdfac34
commit 320bdcf29e

View file

@ -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()); let result = file.write_all(random_string.as_bytes());
assert!(result.is_ok()); 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() ts.ucmd()
.args(&["-c", "+0", path, socket]) .args(&["-c", "+0", path, socket])
.fails() .fails()