Skip to content

Commit 1f6a866

Browse files
committed
Fix an ambiguous expect message
1 parent fe3f2d1 commit 1f6a866

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/tools/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ static GIT_CORE_DIR: Lazy<PathBuf> = Lazy::new(|| {
104104
output
105105
.stdout
106106
.strip_suffix(b"\n")
107-
.expect("malformed output from `git --exec-path`")
107+
.expect("`git --exec-path` output to be well-formed")
108108
.to_os_str()
109109
.expect("no invalid UTF-8 in `--exec-path` except as OS allows")
110110
.into()

0 commit comments

Comments
 (0)