Sha256: e63e0993bc9d58bc78a37b5f729c0fa77a4decd7e86d91d813884d2f000b5a8e

Contents?: true

Size: 184 Bytes

Versions: 1

Compression:

Stored size: 184 Bytes

Contents

require 'spec_helper'

describe List do
  it "gc safe" do
    a = (0..3).to_a
    list = List.new a
    GC.start
    expect(list.to_a).to eq(a)
    expect(a.length).to eq(4)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
list-0.0.1 spec/mem_spec.rb