Commit 7dbbf22
committed
fix: move pragma no cover to defensive else branch
ROOT CAUSE:
strict-no-cover was failing because pragma was on the if statement
which IS covered. The uncovered branch is the else case.
CHANGES:
- Moved pragma from if statement to else branch (continue statement)
- Added comment explaining why this is defensive code
IMPACT:
- strict-no-cover will now pass
- Tests remain fully functional
- Defensive code properly marked
Refs: #20861 parent 00cca01 commit 7dbbf22
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
129 | 129 | | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
130 | 133 | | |
131 | 134 | | |
132 | 135 | | |
| |||
0 commit comments