Commit ef3bf6a
test: add codec-level round-trip tests for StmtResponse V1
The existing V1 test called decode_body directly, bypassing the
_MAX_SCHEMA gate in decode_bytes. These new tests route StmtResponse
with tail_offset through MessageDecoder.decode() and decode_message()
to guard against regressions in the _MAX_SCHEMA dict.
Closes #112
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 59162fa commit ef3bf6a
1 file changed
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
636 | 636 | | |
637 | 637 | | |
638 | 638 | | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
639 | 662 | | |
640 | 663 | | |
641 | 664 | | |
| |||
0 commit comments