diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-07-16 10:59:20 +0100 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-07-16 10:59:20 +0100 |
| commit | ac53bca7e315848864ff9e51703720b5b466bc42 (patch) | |
| tree | 775e425f0af2543eb12e4a4b1d4feb022611368f /src/lib/git/identify_ahead_behind.rs | |
| parent | 092b9606ff2b721d858a5c7b2b27a2f9942b4bc4 (diff) | |
chore: bump nightly rustfmt
to latest available and apply fmt fixes
Diffstat (limited to 'src/lib/git/identify_ahead_behind.rs')
| -rw-r--r-- | src/lib/git/identify_ahead_behind.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/git/identify_ahead_behind.rs b/src/lib/git/identify_ahead_behind.rs index baea687..d736522 100644 --- a/src/lib/git/identify_ahead_behind.rs +++ b/src/lib/git/identify_ahead_behind.rs | |||
| @@ -184,10 +184,10 @@ mod tests { | |||
| 184 | identify_ahead_behind(&git_repo, &Some("feature".to_string()), &None)?; | 184 | identify_ahead_behind(&git_repo, &Some("feature".to_string()), &None)?; |
| 185 | 185 | ||
| 186 | assert_eq!(from_branch, "feature"); | 186 | assert_eq!(from_branch, "feature"); |
| 187 | assert_eq!(ahead, vec![ | 187 | assert_eq!( |
| 188 | oid_to_sha1(&feature_oid), | 188 | ahead, |
| 189 | oid_to_sha1(&dev_oid_first) | 189 | vec![oid_to_sha1(&feature_oid), oid_to_sha1(&dev_oid_first)] |
| 190 | ]); | 190 | ); |
| 191 | assert_eq!(to_branch, "main"); | 191 | assert_eq!(to_branch, "main"); |
| 192 | assert_eq!(behind, vec![]); | 192 | assert_eq!(behind, vec![]); |
| 193 | 193 | ||