Skip to content

Commit

Permalink
Use existing constant for ASCII_8BIT
Browse files Browse the repository at this point in the history
Co-Authored-By: John Lees-Miller <jdleesmiller@gmail.com>
  • Loading branch information
henkesn and jdleesmiller authored Mar 2, 2020
1 parent b0ee268 commit e33c07a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/output_stream_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def test_write_buffer_binmode
zos.comment = TEST_ZIP.comment
write_test_zip(zos)
end
assert buffer.external_encoding.name === ASCII8BIT
assert_equal Encoding::ASCII_8BIT, buffer.external_encoding
end

def test_write_buffer_with_temp_file
Expand Down

0 comments on commit e33c07a

Please sign in to comment.