We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
expect
1 parent fe3f2d1 commit 1f6a866Copy full SHA for 1f6a866
tests/tools/src/lib.rs
@@ -104,7 +104,7 @@ static GIT_CORE_DIR: Lazy<PathBuf> = Lazy::new(|| {
104
output
105
.stdout
106
.strip_suffix(b"\n")
107
- .expect("malformed output from `git --exec-path`")
+ .expect("`git --exec-path` output to be well-formed")
108
.to_os_str()
109
.expect("no invalid UTF-8 in `--exec-path` except as OS allows")
110
.into()
0 commit comments