Sha256: 4918d532177b07d55146720ff4c5074dccc5fc4510f77b30d92430691048afa9

Contents?: true

Size: 277 Bytes

Versions: 1

Compression:

Stored size: 277 Bytes

Contents

require 'spec_helper'

describe MurmurHash do
  it "gc safe" do
    all_classes.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-1.0.0 spec/mem_spec.rb