mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
tee: fail test if string setup fails
This commit is contained in:
parent
69ea02d9b0
commit
868600cac9
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ fn test_tee_no_more_writeable_1() {
|
|||
// equals to 'tee /dev/full out2 <multi_read' call
|
||||
let (at, mut ucmd) = at_and_ucmd!();
|
||||
let content = (1..=10).fold(String::new(), |mut output, x| {
|
||||
let _ = writeln!(output, "{x}");
|
||||
writeln!(output, "{x}").unwrap();
|
||||
output
|
||||
});
|
||||
let file_out = "tee_file_out";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue