Skip to content

Commit

Permalink
Fix an ambiguous expect message
Browse files Browse the repository at this point in the history
  • Loading branch information
EliahKagan committed Dec 1, 2024
1 parent fe3f2d1 commit 1f6a866
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tools/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ static GIT_CORE_DIR: Lazy<PathBuf> = Lazy::new(|| {
output
.stdout
.strip_suffix(b"\n")
.expect("malformed output from `git --exec-path`")
.expect("`git --exec-path` output to be well-formed")
.to_os_str()
.expect("no invalid UTF-8 in `--exec-path` except as OS allows")
.into()
Expand Down

0 comments on commit 1f6a866

Please sign in to comment.