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

Merge pull request #7348 from cakebaker/yes_remove_use_of_deprecated_fn_in_test

yes: fix use of deprecated function in test
This commit is contained in:
Sylvestre Ledru 2025-02-23 18:33:25 +01:00 committed by GitHub
commit 8bd9744183
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,8 +29,7 @@ fn run(args: &[impl AsRef<OsStr>], expected: &[u8]) {
let buf = child.stdout_exact_bytes(expected.len());
child.close_stdout();
#[allow(deprecated)]
check_termination(child.wait_with_output().unwrap().status);
check_termination(child.wait().unwrap().exit_status());
assert_eq!(buf.as_slice(), expected);
}