Sha256: fa30443648e005f1a9eca56f3f3af6927cc3c3ba5bb9cad263c7488e8931dbfd

Contents?: true

Size: 332 Bytes

Versions: 157

Compression:

Stored size: 332 Bytes

Contents

# encoding: ascii-8bit
require 'spec_helper'

describe Unpacker do
  let :unpacker do
    Unpacker.new
  end

  let :packer do
    Packer.new
  end

  it 'buffer' do
    o1 = unpacker.buffer.object_id
    unpacker.buffer << 'frsyuki'
    unpacker.buffer.to_s.should == 'frsyuki'
    unpacker.buffer.object_id.should == o1
  end
end

Version data entries

157 entries across 157 versions & 4 rubygems

Version Path
msgpack-1.2.9-x64-mingw32 spec/cruby/buffer_unpacker.rb
msgpack-1.2.9-x86-mingw32 spec/cruby/buffer_unpacker.rb
msgpack-1.2.9-java spec/cruby/buffer_unpacker.rb
msgpack-1.2.9 spec/cruby/buffer_unpacker.rb
msgpack-1.2.8-java spec/cruby/buffer_unpacker.rb
msgpack-1.2.8-x64-mingw32 spec/cruby/buffer_unpacker.rb
msgpack-1.2.8-x86-mingw32 spec/cruby/buffer_unpacker.rb
msgpack-1.2.8 spec/cruby/buffer_unpacker.rb
msgpack-1.2.7-x64-mingw32 spec/cruby/buffer_unpacker.rb
msgpack-1.2.7-x86-mingw32 spec/cruby/buffer_unpacker.rb
msgpack-1.2.7-java spec/cruby/buffer_unpacker.rb
msgpack-1.2.7 spec/cruby/buffer_unpacker.rb
msgpack-1.2.6-java spec/cruby/buffer_unpacker.rb
msgpack-1.2.6 spec/cruby/buffer_unpacker.rb
msgpack-1.2.6-x86-mingw32 spec/cruby/buffer_unpacker.rb
msgpack-1.2.6-x64-mingw32 spec/cruby/buffer_unpacker.rb
msgpack-1.2.5-java spec/cruby/buffer_unpacker.rb
msgpack-1.2.5-x86-mingw32 spec/cruby/buffer_unpacker.rb
msgpack-1.2.5-x64-mingw32 spec/cruby/buffer_unpacker.rb
msgpack-1.2.5 spec/cruby/buffer_unpacker.rb