Sha256: 6c9c91d9f7a441c688f2d765b69c874cf579e91ac27574cfbc97c6b2842fa471
Contents?: true
Size: 506 Bytes
Versions: 38
Compression:
Stored size: 506 Bytes
Contents
# encoding: utf-8 Shindo.tests('AWS | signed_params', ['aws']) do returns( Fog::AWS.escape( "'Stöp!' said Fred_-~./" ) ) { "%27St%C3%B6p%21%27%20said%20Fred_-~.%2F" } tests('Keys should be canonicalised using Unicode NFC') do returns( Fog::AWS.escape( ["00E9".to_i(16)].pack("U*") ) ) { "%C3%A9" } tests('Characters with combining mark should be combined and then escaped') do returns( Fog::AWS.escape( ["0065".to_i(16), "0301".to_i(16)].pack("U*") ) ) { "%C3%A9" } end end end
Version data entries
38 entries across 38 versions & 2 rubygems