Commit dd1ee3d
committed
test: let async-for loop exhaust to cover both branches
Remove time.sleep(1) so the child exits immediately after writing, then
drop the early-break guard. The loop now terminates by exhaustion rather
than break, which covers the previously-missing 532->537 branch and
restores 100 % coverage.1 parent a81b8c4 commit dd1ee3d
1 file changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
512 | 512 | | |
513 | 513 | | |
514 | 514 | | |
515 | | - | |
| 515 | + | |
516 | 516 | | |
517 | 517 | | |
518 | 518 | | |
519 | | - | |
520 | 519 | | |
521 | 520 | | |
522 | 521 | | |
| |||
531 | 530 | | |
532 | 531 | | |
533 | 532 | | |
534 | | - | |
535 | | - | |
536 | 533 | | |
537 | 534 | | |
538 | 535 | | |
| |||
0 commit comments