Skip to content

Commit

Permalink
fixup! std: unix process: Test exit statuses / wait statuses
Browse files Browse the repository at this point in the history
  • Loading branch information
ijackson committed Aug 22, 2023
1 parent 2727f82 commit 281b050
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/sys/unix/process/process_common/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ fn unix_exit_statuses() {
use crate::process::*;

for exit_code in 0..=0xff {
// TODO impl From<ExitCode> for ExitStatus and then test that here too;
// FIXME impl From<ExitCode> for ExitStatus and then test that here too;
// the two ExitStatus values should be the same
let raw_wait_status = exit_code << 8;
let exit_status = ExitStatus::from_raw(raw_wait_status);
Expand Down

0 comments on commit 281b050

Please sign in to comment.