Commit ce1e701
gh-154863: Check the encoded bytes in the shift state flush test
The test decoded the output back and checked the ASCII in the result, so
it tested the decoder too. The ASCII is written to the output as is, so
checking it there tests only the encoder. Comparing with the same text
without the character also detects a character encoded as nothing.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 5918085 commit ce1e701
1 file changed
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3835 | 3835 | | |
3836 | 3836 | | |
3837 | 3837 | | |
3838 | | - | |
3839 | | - | |
3840 | | - | |
| 3838 | + | |
| 3839 | + | |
| 3840 | + | |
3841 | 3841 | | |
3842 | 3842 | | |
3843 | 3843 | | |
| |||
3848 | 3848 | | |
3849 | 3849 | | |
3850 | 3850 | | |
3851 | | - | |
3852 | | - | |
3853 | | - | |
3854 | | - | |
| 3851 | + | |
| 3852 | + | |
| 3853 | + | |
| 3854 | + | |
3855 | 3855 | | |
3856 | 3856 | | |
3857 | 3857 | | |
| |||
0 commit comments