Skip to content

Commit 4d98535

Browse files
committed
Reorder statements in alternative_locations test for clarity
1 parent c8b2eb3 commit 4d98535

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

gix-path/src/env/git.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,12 +423,11 @@ mod tests {
423423
#[test]
424424
#[cfg(windows)]
425425
fn alternative_locations() {
426-
let locations = super::ALTERNATIVE_LOCATIONS.as_slice();
427-
428426
// Obtain program files directory paths by other means and check that they seem correct.
429427
let pf = ProgramFilesPaths::obtain_envlessly().validate();
430428

431429
// Check that `ALTERNATIVE_LOCATIONS` correspond to them, with the correct subdirectories.
430+
let locations = super::ALTERNATIVE_LOCATIONS.as_slice();
432431
GitBinSuffixes::assert_from(&pf, locations).assert_architectures();
433432
}
434433

0 commit comments

Comments
 (0)