Skip to content

Commit

Permalink
add test on no-exit-code spec
Browse files Browse the repository at this point in the history
  • Loading branch information
tomeichlersmith committed Sep 2, 2024
1 parent 1241139 commit 0d108ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ cfg_if! {
// so I only test without the inline flag
add_test!(match_fail_exit_code, "-1 exit 1", "", false);
add_test!(match_pass_exit_code, "-0 exit 0", "", false);
add_test!(pass_without_exit_code_spec, "exit 1", "", false);

#[test]
fn exit_code_mismatch() {
Expand Down

0 comments on commit 0d108ad

Please sign in to comment.