[ruby-core:112959] [Ruby master Bug#19389] StringIO gets(..., chomp: true) behaves differently to File/IO.