Sha256: 5a613bd28e228a016653ed01e300fe22a37ff4ea1ab9b8b22597a6967c047107

Contents?: true

Size: 135 Bytes

Versions: 4

Compression:

Stored size: 135 Bytes

Contents

covers 'facets/string/bytes'

testcase String do

  unit :bytes do
    s = "abc"
    s.bytes.to_a.assert == s.unpack('C*')
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
facets-2.9.1 test/core/string/test_bytes.rb
facets-2.9.0 test/core/string/test_bytes.rb
facets-2.9.0.pre.2 test/core/string/test_bytes.rb
facets-2.9.0.pre.1 test/core/string/test_bytes.rb