1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

Merge pull request #3089 from jfinkels/tests-stderr-only-bytes

tests: fix no_stderr check in stderr_only_bytes()
This commit is contained in:
Sylvestre Ledru 2022-02-12 11:32:35 +01:00 committed by GitHub
commit cccc6b8524
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -356,7 +356,7 @@ impl CmdResult {
/// of the passed value
/// 2. the command resulted in an empty stdout stream
pub fn stderr_only_bytes<T: AsRef<[u8]>>(&self, msg: T) -> &Self {
self.no_stderr().stderr_is_bytes(msg)
self.no_stdout().stderr_is_bytes(msg)
}
pub fn fails_silently(&self) -> &Self {