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