Commit 42e038e
Hand FakeReadPartialIO binary chunks
replace copies the encoding along with the content, so UTF-8 literals
turned @rbuf into UTF-8 for the whole test. A real IO leaves the binary
buffer it was given alone, and readuntil mixes byte counts with
String#index offsets that only agree while the buffer is binary.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 42ad702 commit 42e038e
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
134 | 136 | | |
135 | 137 | | |
136 | 138 | | |
| |||
0 commit comments