Sha256: 675b05a7f67cbf3da821a20d219b57e981d9175051f64e877633a1429b9687ee

Contents?: true

Size: 212 Bytes

Versions: 3

Compression:

Stored size: 212 Bytes

Contents

require 'spec_helper'

describe Digest::StringBuffer do
  it "gc safe" do
    test = Test.new
    GC.start
    test.update("buff")
    GC.start
    expect(test.update("er").to_s).to eq("00004cc6");
  end
end




Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
digest-stringbuffer-0.0.3 spec/mem_spec.rb
digest-stringbuffer-0.0.2 spec/mem_spec.rb
digest-stringbuffer-0.0.1 spec/mem_spec.rb