Sha256: 18496cbdd50746938b49dc5774e7669f0bc7e21a3c3898213bffd6ae4edd5d9a
Contents?: true
Size: 316 Bytes
Versions: 215
Compression:
Stored size: 316 Bytes
Contents
# encoding:utf-8 require './test/bson/test_helper' class BinaryTest < Test::Unit::TestCase def setup @data = ("THIS IS BINARY " * 50).unpack("c*") end def test_do_not_display_binary_data binary = BSON::Binary.new(@data) assert_equal "<BSON::Binary:#{binary.object_id}>", binary.inspect end end
Version data entries
215 entries across 72 versions & 4 rubygems