Commit 5f9867c
Add extra test for IO.new with internal_encoding keyword
When providing a single encoding in the mode argument, the external
encoding of the IO object is set to that encoding, the internal encoding
is left blank. The ArgumentError in this case is a rather specific
behaviour.1 parent b2c8ead commit 5f9867c
1 file changed
Lines changed: 3 additions & 0 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
327 | 330 | | |
328 | 331 | | |
329 | 332 | | |
| |||
0 commit comments