Commit 41ed26b
committed
tests: avoid assertion failure on socket receive EOF in 058-tcp-socket.
Replace assert(sock:receive()) with a nil-check that breaks the loop,
so a clean EOF doesn't abort the test handler.1 parent 02ec8a5 commit 41ed26b
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4517 | 4517 | | |
4518 | 4518 | | |
4519 | 4519 | | |
4520 | | - | |
| 4520 | + | |
| 4521 | + | |
4521 | 4522 | | |
4522 | 4523 | | |
4523 | 4524 | | |
| |||
0 commit comments