Commit c7c5888
test(listFiles): assert consecutiveMistakeCount value on validation+error path
Addresses CodeRabbit review: the 'no reset on error' test never asserted the
counter, so it would pass even if the reset behavior regressed. Renamed to
reflect actual behavior (validation success resets to 0 before listFiles
throws) and added the missing assertion. 40 tests pass.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 833b22f commit c7c5888
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
397 | | - | |
| 397 | + | |
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
401 | 401 | | |
402 | 402 | | |
403 | 403 | | |
404 | | - | |
405 | | - | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
406 | 407 | | |
| 408 | + | |
407 | 409 | | |
408 | 410 | | |
409 | 411 | | |
| |||
0 commit comments