Sha256: 043cbf54d61c8f94fed092b8119d7554830ca24fcd587881eda2a2ca6fe5e563
Contents?: true
Size: 381 Bytes
Versions: 9
Compression:
Stored size: 381 Bytes
Contents
require 'abstract_unit' class Base64Test < Test::Unit::TestCase def test_no_newline_in_encoded_value assert_match(/\n/, ActiveSupport::Base64.encode64("oneverylongstringthatwouldnormallybesplitupbynewlinesbytheregularbase64")) assert_no_match(/\n/, ActiveSupport::Base64.encode64s("oneverylongstringthatwouldnormallybesplitupbynewlinesbytheregularbase64")) end end
Version data entries
9 entries across 8 versions & 5 rubygems