Skip to content

Commit

Permalink
Add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
joelparkerhenderson committed Oct 28, 2024
1 parent f70f1f6 commit 718590e
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions todo/README.md
24 changes: 24 additions & 0 deletions todo/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# TODO


## Assert process

assert_process_success & assert_process_failure, via these platform constants:

```
::std::process::ExitCode::SUCCESS
::std::process::ExitCode::FAILURE
```

## Command status code

assert_command_status_code_eq


Code something like this:

```
let cmd = ::std::process::Command::new(program)
let code = cmd.status().unwrap().code();
code == x;
```

0 comments on commit 718590e

Please sign in to comment.