Sha256: cb56c0ad084743d10ef622914af7a80fc7eb5afce37f267d1d8eae1c5f287a14
Contents?: true
Size: 287 Bytes
Versions: 2
Compression:
Stored size: 287 Bytes
Contents
require 'spec_helper' describe "Digest::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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
digest-murmurhash-1.1.1 | spec/mem_spec.rb |
digest-murmurhash-1.1.0 | spec/mem_spec.rb |