Sha256: f069817eccd2481588beb24352eb32d47186cfb9417c3eb723ff55fcff2eba2a
Contents?: true
Size: 323 Bytes
Versions: 23
Compression:
Stored size: 323 Bytes
Contents
require_relative '../spec_helper' describe 'Maps' do it 'should allow maps to be merged' do expect(merge(empty)).to eq({}) expect(merge(sequence({1 => 2}, {3 => 4, 5 => 6}))).to eq({1 => 2, 3 => 4, 5 => 6}) expect(merge(sequence({1 => 2, 3 => 3}, {3 => 4, 5 => 6}))).to eq({1 => 2, 3 => 4, 5 => 6}) end end
Version data entries
23 entries across 23 versions & 1 rubygems
Version | Path |
---|---|
totally_lazy-0.1.42 | spec/totally_lazy/maps_spec.rb |
totally_lazy-0.1.41 | spec/totally_lazy/maps_spec.rb |
totally_lazy-0.1.39 | spec/totally_lazy/maps_spec.rb |