rust/tests/ui/process/println-with-broken-pipe.run.stdout
Martin Nordholts 075a6bbef9 Regression test println!() panic message on ErrorKind::BrokenPipe
No existing test failed if the [`panic!()`][1] of the `println!()`
family of functions was removed, or if its message was changed.

So add such a test.

[1] 104f4300cf/library/std/src/io/stdio.rs (L1007-L1009)
2023-07-26 13:41:39 +02:00

2 lines
46 B
Plaintext

this line shall appear exactly once on stdout