Sha256: 5fdf4ab14b1b3de990abaab50a75be605d3c16607d2d1bf50147fa5a93942ea1

Contents?: true

Size: 269 Bytes

Versions: 1

Compression:

Stored size: 269 Bytes

Contents

require 'spec_helper'

describe MurmurHash do
  it "gc safe" do
    all.each do |c|
      murmur = c.new
      init = murmur.to_s
      GC.start
      murmur.update("murmur")
      GC.start
      expect(murmur.update("hash").to_s != init).to be true
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
digest-murmurhash-0.3.0 spec/mem_spec.rb