Skip to content

Commit

Permalink
[deps] update datatest-stable to 0.7.2
Browse files Browse the repository at this point in the history
Means we can use `conclusion.exit_code()`.
  • Loading branch information
sunshowers committed Apr 9, 2024
1 parent 239d535 commit fe4e051
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ rust-version = "1.65"

[dependencies]
camino = "1.1.6"
libtest-mimic = "0.7.1"
libtest-mimic = "0.7.2"
regex = "1.10.4"
walkdir = "2.5.0"

Expand Down
7 changes: 1 addition & 6 deletions src/runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,7 @@ pub fn runner(requirements: &[Requirements]) -> ExitCode {
//
// Use `std::process::ExitCode` instead, and return it in main.

if conclusion.has_failed() {
// libtest-mimic uses exit code 101 for test failures -- retain the same behavior.
101.into()
} else {
ExitCode::SUCCESS
}
conclusion.exit_code()
}

#[doc(hidden)]
Expand Down

0 comments on commit fe4e051

Please sign in to comment.