History

Update outdated `expect()` message in test helper

The fixes some wording in `RelativeGitBinPaths::assert_from()` in the `gix-path` test suite, for how many paths we build when we are able to find a 64-bit program files directory.

Eliah Kagan committed 1 year ago

Commit 571ca6e1 parent 5bf265b1 file · +1 −1Browse files

Unified · Split

gix-path/src/env/git/tests.rs+1−1
@@ -320,7 +320,7 @@ mod locations { · 319 unmodified lines
320320 let prefix_64bit = pf
321321 .maybe_64bit
322322 .as_ref()
323− .expect("It gives two paths only if one can be 64-bit");
323+ .expect("It gives three paths only if some can be 64-bit");
324324 let suffix_arm64 = primary
325325 .strip_prefix(prefix_64bit)
326326 .expect("It gives the 64-bit ARM64 path and lists it first");