tee: fail test if string setup fails

This commit is contained in:
Ben Wiederhake
2024-02-23 05:42:01 +01:00
parent 69ea02d9b0
commit 868600cac9
+1 -1
View File
@@ -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";