jesseduffield / lazygit

simple terminal UI for git commands
MIT License
47.94k stars 1.72k forks source link

Fix reporting of unexpected selections in integration tests #3662

Closed stefanhaller closed 2 weeks ago

stefanhaller commented 2 weeks ago

Expected and actual selection were swapped in the error message.

codacy-production[bot] commented 2 weeks ago

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
Report missing for c08a5fe4e79cc0b3f1810dd1c6a004a83cfa15f6[^1] :white_check_mark: 0.00%
Coverage variation details | | Coverable lines | Covered lines | Coverage | | ------------- | ------------- | ------------- | ------------- | | Common ancestor commit (c08a5fe4e79cc0b3f1810dd1c6a004a83cfa15f6) | Report Missing | Report Missing | Report Missing | | | Head commit (43e04febee93921462fd334407702ca8afcd9d7b) | 52054 | 45012 | 86.47% | **Coverage variation** is the difference between the coverage for the head and common ancestor commits of the pull request branch: ` - `
Diff coverage details | | Coverable lines | Covered lines | Diff coverage | | ------------- | ------------- | ------------- | ------------- | | Pull request (#3662) | 1 | 0 | **0.00%** | **Diff coverage** is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: `/ * 100%`

See your quality gate settings    Change summary preferences


:rocket: Don’t miss a bit, follow what’s new on Codacy.

Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more [^1]: Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.

stefanhaller commented 2 weeks ago

Since this is such an obvious fix, and it doesn't change any production code, I'm just going to merge it without approval.