Skip to content

Commit

Permalink
Update lib.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
smoelius committed Oct 5, 2023
1 parent 69043b0 commit 113497b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cargo-test-fuzz/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,8 @@ fn cargo_afl_version() -> Result<Version> {
let stdout = String::from_utf8_lossy(&output.stdout);
let version = stdout.strip_prefix("cargo-afl ").ok_or_else(|| {
anyhow!(
"Could not determine `cargo-afl` version. Is it installed? Try `cargo install afl`."
"Could not determine `cargo-afl` version. Is it installed? Try `cargo install \
cargo-afl`."
)
})?;
Version::parse(version.trim_end()).map_err(Into::into)
Expand Down
2 changes: 1 addition & 1 deletion cargo-test-fuzz/tests/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fn uninstalled_cargo_afl() -> Result<()> {
&[],
&[
"^Error: Could not determine `cargo-afl` version. Is it installed? Try `cargo install \
afl`.$",
cargo-afl`.$",
],
)
}
Expand Down

0 comments on commit 113497b

Please sign in to comment.