We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0ee268 commit e33c07aCopy full SHA for e33c07a
test/output_stream_test.rb
@@ -40,7 +40,7 @@ def test_write_buffer_binmode
40
zos.comment = TEST_ZIP.comment
41
write_test_zip(zos)
42
end
43
- assert buffer.external_encoding.name === ASCII8BIT
+ assert_equal Encoding::ASCII_8BIT, buffer.external_encoding
44
45
46
def test_write_buffer_with_temp_file
0 commit comments