Skip to content

Replace impossible case in switch with Assert(false) - #829

Open
jeltz wants to merge 1 commit into
percona:mainfrom
jeltz:switch-impossible-branch
Open

Replace impossible case in switch with Assert(false)#829
jeltz wants to merge 1 commit into
percona:mainfrom
jeltz:switch-impossible-branch

Conversation

@jeltz

@jeltz jeltz commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

This case cannot be hit since the switch is exhaustive so replace it with an Assert(false).

PG-0

This case cannot be hit since the switch is exhaustive so replace it
with an Assert(false).
@codecov

codecov Bot commented Aug 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.48%. Comparing base (81ca012) to head (237660f).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #829      +/-   ##
==========================================
+ Coverage   88.46%   88.48%   +0.01%     
==========================================
  Files           3        3              
  Lines        1318     1320       +2     
  Branches      187      187              
==========================================
+ Hits         1166     1168       +2     
  Misses         77       77              
  Partials       75       75              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant